Special Charachter Problem

When I set

NoUnicodeSupport := true;

I got Ora-03130.

Then setting NLS_LANG in registry back to AMERICAN_AMERICA.WE8MSWIN1252

seems to fix the issue.

It's a bit confusing since Oracle encourages the standard use of UTF-8 character set.
 
Have you set TOracleSession.BytesPerCharacter to bcAutoDetect?

Also note that if you want to display Unicode characters, you need to use data-aware controls that support Unicode like the TNT Controls.
 
The setting of bcAutoDetect makes no difference.

I do not want to display unicode characters, just special ASCII characters.

Now I get an ORA-12899 - value too large for column

when a field contains special characters and reaches the limit. If I insert the same string with an SQL tool it works.
 
Can you try the following? Before or shortly after a connection is made in your application, set the global Oracle.NoUnicodeSupport to True.
 
Back
Top