[Mono-devel-list] System.Data.OracleClient

Jörg Rosenkranz joergr at voelcker.com
Fri May 7 11:05:07 EDT 2004

> -----Original Message-----
> From: mono-devel-list-admin at lists.ximian.com 
> [mailto:mono-devel-list-admin at lists.ximian.com] On Behalf Of 
> Eduard Nesiba
> In OCI exists functions
> OCINlsGetInfo(dvoid *hndl, OCIError *errhp, OraText *buf, 
> size_t buflen,
> ub2 item)
> with 'EvnHandle' and 'NLS_CHARACTER_SET'
> we can get client NLS charset
> and
> OCINlsNameMap( dvoid *hndl, oratext *buf, size_t buflen, 
> const oratext *srcbuf, 
> word flag)
> With 'OCI_NLS_CS_ORA_TO_IANA' we can get client ISO charset name.

I've found two functions that might be even better:
OCICharSetToUnicode and OCIUnicodeToCharset. 

I think they are doing conversions from or to the client 
charset. That would eliminate the usage of Encoding at all.


More information about the Mono-devel-list mailing list