> > 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.

Tomas

Reply via email to