2019-08-14 06:05 AM
2019-08-15 12:12 AM
Thanks for answers! I ADD comand gcc -fexec-charset=CP1251 in MCU GCC Compiler and its solved my problem!!
2019-08-14 08:52 AM
Because what you input to the compiler is a unicode 16 bit string which will be converted to ASCII 8 bit character table.
208 seems to be the cyrillic page for unicode characters, mandarin will be another.
2019-08-14 04:42 PM
The C standard leaves the choice of character set to be implementation-defined, i.e. it depends on the compiler, how it copes with the various character sets.
In gcc, you should be able to override the default (UTF-8) encoding using the -fexec-charset switch https://gcc.gnu.org/onlinedocs/cpp/Invocation.html#index-fexec-charset (it's a preprocessor switch). You might be able to use ASCII or some of the charsets listed here.
JW
2019-08-15 12:12 AM
Thanks for answers! I ADD comand gcc -fexec-charset=CP1251 in MCU GCC Compiler and its solved my problem!!