Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with Oracle character sets
Message
From
30/10/2009 16:07:24
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Problem with Oracle character sets
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Oracle
Miscellaneous
Thread ID:
01432437
Message ID:
01432437
Views:
86
Hello
In one new installation of my old and proven VFP app, using an Oracle 11g database via old MS Odbc for Oracle (as I have always done before) , I have this problem:

If I insert a string in in a fixed length char field of the same length of the string (say char(30)) IF THE STRING DOES NOT HAVE SPECIAL CHARACTERS, everything goes as usual. However, if the string contains some spanish language chars (ó, é, á, ñ) the insert fails indicating that the string is too long. I suspect "somewhere" this characters are encoded in double-byte instead of single-byte.

My question is, which is the Oracle setting that allows/prevents this? I need special characters encoded in 1 byte.

Some settings that the DBA passed to me are

NLS_CHARACTERSET = AL32UTF8
NLS_NCHAR_CHARACTERSET= AL16UTF16

Any help will be appreciated, thanks!
Next
Reply
Map
View

Click here to load this message in the networking platform