[unixODBC-dev] Unicode Encoding

Steve Langasek vorlon at debian.org
Fri Nov 23 22:39:36 GMT 2007


On Fri, Nov 23, 2007 at 07:03:01AM -0800, Bill Medland wrote:
> > Strictly speaking its UCS-2 on windows, but yes, the same as you do on 
> > windows.

> Are you sure?

> Are you speaking about Windows or about the Windows implementation of
> ODBC?

> My understanding is that Windows uses UTF-16.  That's why they have
> functions such as CharNext.

No, historically Windows is UCS2.  I'd be very surprised if they've migrated
to UTF-16 now since that's not encoding-compatible with UCS2, but if they
have it's certainly a recent change.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/



More information about the unixODBC-dev mailing list