Some Diacritic Characters Disappear On Android (unity)
I've made a game in Unity which uses three languages (Dutch, Polish and English) and can both be played on PC and on Android. But on Android all Polish characters (ĄĆĘŃŚŹŻ)
Solution 1:
Well, if you hardcoded the characters in your app, then you need to do something like:
For Java (Note: Android is using Java)
- Write Ą as \u0104
- Write Ć as \u0106
- Write Ł as \u0141
- Write Ó as \u00d3
and so on.
For HTML / XML
- Write Ą as Ą
- Write Ć as Ć
- Write Ł as Ł
- Write Ó as Ó
and so on.
Search here for the equivalent unicode and hexadecimal values for the other Polish diacritic characters.
Also, when compiling source codes under Unity, you may need to provide the -codepage:utf8
switch when calling the MCS compiler. Otherwise, the compiler will default to whatever encoding the OS platform is using.
Post a Comment for "Some Diacritic Characters Disappear On Android (unity)"