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 scripts

Hi,

how is it possible to add Cyrillic scripts in one of my c-files (working with mdk version 3.4)?

const char text_cyrillic = {"Cyrillic script"};

best regards
Arne

Parents
  • Have you made really sure that the web pages that gets sent out specifies the UTF8 encoding? If they don't, then the web browser will not know that there are any UTF8 multi-byte characters to display. It may default to the ISO-8859-1 character set instead.

    It really is important to note that a byte is just a binary storage cell capable of storing a value between 0 and 255. To display one or more bytes as specific characters, you must make sure that the renderer is informed about what character set to use, and also supports it.

    The support for different character sets in uvision is irrelevant in relation to your possibilities of selecting character sets for use in the web browser.

    In short: You must make sure that
    1) The web page data contains UTF8 data.
    2) The web page mentions that it is using UTF8 data.

Reply
  • Have you made really sure that the web pages that gets sent out specifies the UTF8 encoding? If they don't, then the web browser will not know that there are any UTF8 multi-byte characters to display. It may default to the ISO-8859-1 character set instead.

    It really is important to note that a byte is just a binary storage cell capable of storing a value between 0 and 255. To display one or more bytes as specific characters, you must make sure that the renderer is informed about what character set to use, and also supports it.

    The support for different character sets in uvision is irrelevant in relation to your possibilities of selecting character sets for use in the web browser.

    In short: You must make sure that
    1) The web page data contains UTF8 data.
    2) The web page mentions that it is using UTF8 data.

Children
No data