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.