Hello,
in short, I am searching for the best way converting ASCII strings coded in different codepages my subsystem creates to use correctly in an embedded wizard gui.
All of the strings in my subsystem are built out of char arrays coded in different codepages (ISO-8859-1, ISO-8859-2, ISO-8859-9, windows-1251, ...).
To use these strings in embedded wizard, I have to convert them via the function:
XString EwNewStringAnsi( const char* aAnsi )
to the 16bit wide coded embedded wizard strings. At this point, the localization is lost and I am searching for an easy way to create the correct 16bit character codes for the localized char array.
- Using the built in font resource and localization tools seem to force me to write substitution tables for all of the codepages I use. The same can of course also be done programatically in a hand made method.
- My second thought was using localized ttf font resources for each codepage, but localization of the ttf fonts seems also to be a hard task
So at the end, before writing substitution tables for all of the codepages, is there another way doing the conversion?
Greetings
MJaeggle