Problem with SQL statement on a Chinese Windows XP
Posted: Tue 05 Feb 2008 15:06
Hi all,
I have problem to execute some SQL statement with non ASCII characters in comments.
Exemple:
This problem happens only on a machine with:
- Windows XP in Chinese installed
- The regional settings are set to Chinese RPC
- And Language for non-unicode programs is set to Chinese RPC too
- The Database is Unicode in AL32UTF8
If I set Language for non-unicode programs to English-US it works fine, but I cannot do that on all machine of customer.
I think that the problem happens because OCI engine that execute the SQL statement is not unicode. It uses the charset of the machine. In this case charset is Chinese RPC and if I have comment in French or German with 'éèàüöï' it does not work.
Can you resolve this problem? What about Globalization in ODAC?
Is there a solution to strip all comments from SQL statement before execution?
Thanks, regards,
Maurizio
I have problem to execute some SQL statement with non ASCII characters in comments.
Exemple:
Code: Select all
--This is a comment with non ACSII éàèöüä
Select * from MY_TABLE- Windows XP in Chinese installed
- The regional settings are set to Chinese RPC
- And Language for non-unicode programs is set to Chinese RPC too
- The Database is Unicode in AL32UTF8
If I set Language for non-unicode programs to English-US it works fine, but I cannot do that on all machine of customer.
I think that the problem happens because OCI engine that execute the SQL statement is not unicode. It uses the charset of the machine. In this case charset is Chinese RPC and if I have comment in French or German with 'éèàüöï' it does not work.
Can you resolve this problem? What about Globalization in ODAC?
Is there a solution to strip all comments from SQL statement before execution?
Thanks, regards,
Maurizio