Dron писал(а):Hmmm. But i see, that it's UTF-8 !
My script-files are actually coded as UTF-8 or UTF-8 without BOM.
But the game decode the german signs as kyrillan.
I was wrong, it isn't decoded as ISO-8859-5 but as Windows-1251.https://de.wikipedia.org/wiki/Windows-1251"->" stand for "will displayed as"sign (UTF-8) -> sign (Windows-1251)
ä (U+00E4) -> д (E4)
ö (U+00F6) -> ц (F6)
ü (U+00FC) -> ь (FC)
ß (U+00DF) -> Я (DF)
Ä (U+00C4) -> Д (C4)
Ö (U+00D6) -> Ц (D6)
Ü (U+00DC) -> Ь (DC)
And i've test some other signs:
½ (U+00BD) -> Ѕ (BD)
¹ (U+00B9) -> № (B9)
¡ (U+00A1) -> Ў (A1)
¢ (U+00A2) -> ў (A2)
£ (U+00A3) -> Ј (A3)
¤ (U+00A4) -> ¤ (A4)
¥(U+00A5) -> Ґ (A5)
I think Karot was typing:
É (U+00C9) -> Й (C9)
You see, the last Byte from UTF-8 is the same from Windows-1251.
Here are an example:
"Test ä ö ü ß Ä Ö Ü. д ц ь Я Д Ц Ь. ½ ¹ ¡ ¢ £ ¤ ¥"
It was include of one of the mainfiles in russian.
Karot писал(а): Karot
Just need to change the font.
>Download Font (my choice : http://www.fontsquirrel.com/fonts/almendra
> place it in /game/
> edit /game/scripts/options.rpy
> line 155 style.default.font = "your_font_name"
Interesting I've seen that too, but doesn't change the font at all.
But how is it possible? After downloading CREABBB.TFF and test in MS Word, it will have problems with kyrillan too.
Why is kyrillian displayed in the game by this font?