Subject: Re: Is this a Win32 Only problem?
From: Tomas Frydrych (firstname.lastname@example.org)
Date: Fri Apr 20 2001 - 03:11:37 CDT
> > This has _something_ to do with iconv() that I've
> > been
> > lightly following for a couple of days (not a lot of
> > time
> > to hack since I've been back) since it seems that
> > the bytes
> > get converted wrong.
> > ie 'A' == 65 == 0x65 ==> 0x0065 in UCS2 but is
> > being converted to 0x6500 instead.
> > At least that is the problem on QNX. I'd love to
> > find
> > out that it has to do with the encoding manager.
> This fits in exactly with the problem I'm having
> opening plain text files on Win32.
It is certainly related to the EncodingManager which runs tests at
startup determining whether it needs to be swapping bytes or not.
Look for swap_utos and swap_stou in the Encoding manager, the
problem will be somewhere near these.
This archive was generated by hypermail 2b25 : Fri Apr 20 2001 - 03:15:15 CDT