[PATCH 1/4] hhctrl.ocx: Add HTML to Unicode decoding capability (try 4).
Erich E. Hoover
ehoover at mymail.mines.edu
Thu Jun 14 12:32:49 CDT 2012
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.
More information about the wine-devel