Forgot to Reply All ---------- Forwarded message ---------- From: Alexander Scott-Johns <[email protected]> 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 <[email protected]>
On 21 April 2010 16:08, Dmitry Timoshkov <[email protected]> wrote: > Alexander Scott-Johns <[email protected]> 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.
