Re: [cx-oracle-users] Unicode support
Brought to you by:
atuining
From: Anthony T. <ant...@gm...> - 2008-10-02 15:45:00
|
On Thu, Oct 2, 2008 at 9:32 AM, Michael Schlenker <ms...@co...> wrote: > Anthony Tuininga schrieb: >> Hi, >> >> select * from nls_database_parameters where instr(parameter, >> 'CHARACTERSET') != 0; >> >> For example, with the Windows instant client: >> >> Oracle Instant client version 10.2.0.3 >> connection.encoding = "WINDOWS-1252" >> connection.nencoding = "WINDOWS-1252" >> >> PARAMETER VALUE >> ------------------------------ ---------------------------------------- >> NLS_NCHAR_CHARACTERSET AL16UTF16 >> NLS_CHARACTERSET WE8MSWIN1252 >> > Another thing that might be interesting is the value for > NLS_LENGTH_SEMANTICS, it defaults to Bytes. Wouldn't be surprised if it was > set to chars (which is more useful usually, unless you need to really > allocate buffers in C). Mine is set to the default value of "BYTES". I am allocating buffers in C but fortunately this setting seems to have no bearing on what happens -- or are you suggesting otherwise? > Michael > > > -- > Michael Schlenker > Software Engineer > > CONTACT Software GmbH Tel.: +49 (421) 20153-80 > Wiener Straße 1-3 Fax: +49 (421) 20153-41 > 28359 Bremen > http://www.contact.de/ E-Mail: ms...@co... > > Sitz der Gesellschaft: Bremen > Geschäftsführer: Karl Heinz Zachries, Ralf Holtgrefe > Eingetragen im Handelsregister des Amtsgerichts Bremen unter HRB 13215 > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > |