Internationalization Cookbook
This is my personal blog. The views expressed on these pages are mine alone and not those of my employer.

Archive for the ‘Windows’ Category

Problems using Unicode characters with RTF controls in dialogs

Although the application is Unicode, it seems that the RichText controls hosted by dialogs cannot accept Unicode strings from the API.

Customized GetNumberFormat and GetCurrencyFormat

The GetNumberFormat and GetCurrencyFormat Windows API accepts a pointer to a structure or NULL. But there is no API to fill the structures with the values matching a certain locale.

Setting the user and system locales

One of the most basic operations. You will need to do this countless times if you have to use non-Unicode applications to manipulate localized data (for instance if you have to resize Japanese resources in Developer Studio .NET 2003 or earlier).

How SBCS-MBCS-Unicode application interact with Windows

Explains why the ANSI-Unicode applications separation, and why the limitations of ANSI applications cannot be solved without moving to Unicode.