I am currently making a program that will use the ISO/IEC 8859-15 character set. The main reason is because the font needs to be hand drawn as a bitmap font due to the limited size, therefore, I don't want to draw 16000 characters for each font by hand. The ISO/IEC 8859-15 character set should support all European languages:
https://en.wikipedia.org/wiki/ISO/IEC_8859-15
Now the problem is that when I am in a text editor or in Code::Blocks, if I type an accented character like é è à, it actually insert a Unicode character in the text. The main consequence is that my program will display 2 wacky characters instead of the right character, since Unicode use 2 bytes.
I want to be able to type ISO/IEC 8859-15 characters while programming and when editing text files. How can it be done?
If there is absolutely no way to avoid this, is there a way to dodge those Unicode characters programmatically. For example, if I detect a certain value in a byte, I skip it and read the next one.
https://en.wikipedia.org/wiki/ISO/IEC_8859-15
Now the problem is that when I am in a text editor or in Code::Blocks, if I type an accented character like é è à, it actually insert a Unicode character in the text. The main consequence is that my program will display 2 wacky characters instead of the right character, since Unicode use 2 bytes.
I want to be able to type ISO/IEC 8859-15 characters while programming and when editing text files. How can it be done?
If there is absolutely no way to avoid this, is there a way to dodge those Unicode characters programmatically. For example, if I detect a certain value in a byte, I skip it and read the next one.
Statistics: Posted by larienna — 2024-02-12 12:47 — Replies 1 — Views 37