[PATCH 1/4] hhctrl.ocx: Add HTML to Unicode decoding capability (try 4).
Alexandre Julliard
julliard at winehq.org
Thu Jun 14 12:44:15 CDT 2012
"Erich E. Hoover" <ehoover at mymail.mines.edu> writes:
> On Thu, Jun 14, 2012 at 11:22 AM, Alexandre Julliard
> <julliard at winehq.org> wrote:
>> ...
>>
>> I don't see why you'd want to use ANSI code pages for this, since they
>> will be converted to Unicode anyway.
>
> It's important to use the ANSI code page because of the way the
> characters are handled internally (you can see this in part 4). If
> you just convert the characters straight to unicode then ê will
> become "ê" instead of "ę" in the Polish (?) code page (similar
> behavior in other code pages). You can see an example in the
> screenshot from Bug #27767 :
> http://bugs.winehq.org/attachment.cgi?id=35529 . If you converted
> straight to Unicode then you'd need to convert it a second time to get
> the proper character, unless I'm missing something.
Wow, is Windows really doing it this way? That's a good contestant for
the Most Stupid Win32 API Behavior award.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list