Skip to content Skip to sidebar Skip to footer

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)

  1. Write Ą as \u0104
  2. Write Ć as \u0106
  3. Write Ł as \u0141
  4. Write Ó as \u00d3

and so on.

For HTML / XML

  1. Write Ą as Ą
  2. Write Ć as Ć
  3. Write Ł as Ł
  4. 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)"