This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cyrillic script support for µVision

Hello everybody,

for a russian localization i want to check if an ouput of cyrillic script is possible.

How can i set character encoding in µVision?
If this is not possible, are there other ways to do so?

        OutputLn("руÑÑкую локализацию");

Thanks a lot,

David

Parents
  • An issue is what character set out output device is using. If it's unicode then everything should be good. If it is expecting a cyrillic code page, then it expects to receive same ordinal values as the normal ASCII characters, but instead displaying cyrillic characters.

    If it's the second alternative, then you can't edit your source code using same setting because all C keywords would then also show up with cyrillic characters. In that case, you need to store the strings in a separate file, and edit that file using a cyrillic character set, and editing the normal source code using the default Windows character set.

Reply
  • An issue is what character set out output device is using. If it's unicode then everything should be good. If it is expecting a cyrillic code page, then it expects to receive same ordinal values as the normal ASCII characters, but instead displaying cyrillic characters.

    If it's the second alternative, then you can't edit your source code using same setting because all C keywords would then also show up with cyrillic characters. In that case, you need to store the strings in a separate file, and edit that file using a cyrillic character set, and editing the normal source code using the default Windows character set.

Children
No data