[Mono-list] Problem with Oracle and Mono Charset...

Daniel Morgan danielmorgan@verizon.net
Mon, 21 Feb 2005 08:08:39 -0500


I added a function to named GetNlsInfo which platform invokes into 
OCINlsGetInfo(). 

This can be used to get the NLS Language stuff, translate that culture 
info to System.Globalization.CulturInfo, and then make use of it in the 
OracleClient.

Hubert FONGARNAND wrote:

>Thanks to Daniel Morgan
>DataTime and OracleDateTime works now perfectly. There's still a problem with 
>charset.When my NLS_LANG variable isn't set (on my mono client), french "ιθ" 
>are seen as "??" in the database (MS.NET client see "??").
>The only way to display the "ιθ" correctly is to set my NLS_LANG to :
>NLS_LANG="FRENCH_FRANCE.UTF8" (but normally, the client should adapt itself to 
>the server settings)
>but there's still a problem with string length. eg: when I do an "INSERT" with 
>a string with some "ιθ" the string is "cut" by oracle, so I can not see the 
>entire string in the database...
>
>If someone has experienced the same problem
>
>(excuse me for my bad english...)
>
>  
>