Forgot to Reply All
---------- Forwarded message ---------- From: Alexander Scott-Johns alexander.scott.johns@googlemail.com Date: 21 April 2010 16:40 Subject: Re: [1/2] programs/notepad: Load UTF-8 codepage name from resources instead of using GetCPInfoEx. To: Dmitry Timoshkov dmitry@codeweavers.com
On 21 April 2010 16:08, Dmitry Timoshkov dmitry@codeweavers.com wrote:
Alexander Scott-Johns alexander.scott.johns@googlemail.com wrote:
Using GetCPInfoEx was a nice idea, but unfortunately its output is not localized, and on Windows, the codepage identifier is tacked on the beginnning.
You should fix GetCPInfoEx instead, it returns localized strings under Windows. Same comment for your other patch.
I don't think Windows Notepad uses GetCPInfoEx either, and on my Windows XP box, Wine Notepad's menu ended up looking something like: 1252 ANSI Latin 1 Unicode (UTF-16) Unicode (UTF-16 big-endian) 65001 Unicode (UTF-8)
Yes, GetCPInfoEx should be fixed. But Wine Notepad will still be slightly broken.