Dmitry Timoshkov wrote:
"Shachar Shemesh" wine-devel@shemesh.biz wrote:
Please explain:
- What kind of a resource should I use, in your opinion?
String resources.
- How should I select which resource to load, given a specific locale?
Font charsets doesn't depend on the current user locale. So, just create LANG_NEUTRAL resource with strings for each charset you want and IDs something like:
#define CHARSET_BASE 1000
STRINGTABLE { ANSI_CHARSET+CHARSET_BASE "AaBbYyZz" DEFAULT_CHARSET+CHARSET_BASE "AaBbYyZz" SYMBOL_CHARSET+CHARSET_BASE "Symbol" ... }
How do I put Unicode there? I need to put in characters that, by definition, are taken from very varied parts of the unicode charset table.
If that problem is *easilly* solveable, I'll glady do the change. Note, however, that this is no reason not to commit the patch I sent, as the scheme currently used has been in place since February. All the current patch did was enhance the sample text for more charsets.
Shachar