При включении Enable MultiByte Support в настройках проекта C++ Compiler появляется следующая ошибка
Нажмите для просмотра прикрепленного файла
Вот что сказано на этот счет в руководстве GUI PowerPac
Цитата
Programming examples
If we want to display a text containing non-ASCII characters, we can do this by manually computing the UTF-8 codes
for the non-ASCII characters in the string.
However, if your compiler supports UTF-8 encoding (Sometimes called multi-byte encoding), even non-ASCII
characters can be used directly in strings.
//
// Example using ASCII encoding:
Character range UTF-8 Octet sequence
0000 - 007F 0xxxxxxx
0080 - 07FF 110xxxxx 10xxxxxx
0800 - FFFF 1110xxxx 10xxxxxx 10xxxxxx
IAR PowerPac™ GUI
598 User Guide PPGUI-1
//
GUI_UC_SetEncodeUTF8(); /* required only once to activate UTF-8*/
GUI_DispString("Hal\xc3\xb6le");
//
// Example using UTF-8 encoding:
//
GUI_UC_SetEncodeUTF8(); /* required only once to activate UTF-8*/
GUI_DispString("Halöle");
If we want to display a text containing non-ASCII characters, we can do this by manually computing the UTF-8 codes
for the non-ASCII characters in the string.
However, if your compiler supports UTF-8 encoding (Sometimes called multi-byte encoding), even non-ASCII
characters can be used directly in strings.
//
// Example using ASCII encoding:
Character range UTF-8 Octet sequence
0000 - 007F 0xxxxxxx
0080 - 07FF 110xxxxx 10xxxxxx
0800 - FFFF 1110xxxx 10xxxxxx 10xxxxxx
IAR PowerPac™ GUI
598 User Guide PPGUI-1
//
GUI_UC_SetEncodeUTF8(); /* required only once to activate UTF-8*/
GUI_DispString("Hal\xc3\xb6le");
//
// Example using UTF-8 encoding:
//
GUI_UC_SetEncodeUTF8(); /* required only once to activate UTF-8*/
GUI_DispString("Halöle");
Я рассчитывал на второй вариант указанный в примере.
Но, как я уже сказал, multibyte support вызывает ошибку при компиляции
В общем, поделитесь опытом русификации кто знает
