We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hallo
Does the compiler support UTF-8 or must I supply the right ASCII encoding?
Ex: GUI_ShowString("Hal\xc3\xb6le"); // Ascii enconding or GUI_ShowString("Halöle"); // UTF-8 enconding
/thomas
Surely, this has nothing to do with the compiler - it's a question of whether your GUI_ShowString function supports it...?
Surely, this has nothing to do with the compiler
No, compiler support is required as well. Imagine that one of the multibyte characters has the byte 0x22. The compiler is likely to interpret it as the closing quote, which is not a desired outcome. The RealView compiler should support this: www.keil.com/.../armccref_cihdigag.htm
Yes.. I need to know if I have to write UTF-8 or ASCII codes in my strings, so I dont get compiler errors or bad compiled code
According to this www.keil.com/.../armccref_chdicaie.htm you'll need UTF-8 support in Windows. But it appears that Windows doesn't support UTF-8...