[unixODBC-support] Unicode Support for UCS-2 databases

Ingmar Koecher [ NETIKUS.NET ltd ] ingmar.koecher at netikus.net
Mon Jul 27 13:43:50 BST 2009


> > OK, that's what I did (unsigned short). However, I "discovered" a
> > compiler option for gcc, that allows you to set the size of 
> "wchar_t" to
> > be 2 bytes. I have no experience with it yet, but 
> activating it allows
> > me to use wchar_t instead of unsigned short.
> >

> BTW, what was the compiler flag that changes wchar_t to 2 bytes?

-fshort-wchar

Thanks for your lengthy response btw, I will get back to you on that
shortly.


Ingmar.


More information about the unixODBC-support mailing list