有些读音符号的字符消失在Android(团结) [英] Some diacritic characters disappear on Android (Unity)

查看:105
本文介绍了有些读音符号的字符消失在Android(团结)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我做了一个游戏在Unity它使用三种语言(荷兰语,波兰语和英语),都可以在PC和Android上播放。但在Android上所有的波兰字符(ĄĆĘŃŚŹŻ)消失,除了这两个汉字:L&放大器; O操作。是否有人知道我能做些什么来解决这个问题?而之前有人问我使用的是统一code支持的字体。

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 (ĄĆĘŃŚŹŻ) disappear except for these two characters: Ł & Ó. Does someone know what I could do to fix this? And before anyone asks I'm using a Unicode supported font.

推荐答案

那么,如果你很难codeD在你的应用程序中的角色,那么你需要做的是这样的:

Well, if you hardcoded the characters in your app, then you need to do something like:

对于Java(注:Android正在使用Java)

For Java (Note: Android is using Java)

  1. 发表 作为 \ u0104
  2. 写的 C 作为 \ u0106
  3. 写的作为 \ u0141
  4. 写的 0 作为 \ u00d3
  1. Write Ą as \u0104
  2. Write Ć as \u0106
  3. Write Ł as \u0141
  4. Write Ó as \u00d3

等等。

有关HTML / XML

For HTML / XML

  1. 发表 作为&放大器;#×104;
  2. 写的 C 作为&放大器;#×106;
  3. 写的作为&放大器;#X141;
  4. 写的 0 作为&放大器;#x00d3;
  1. Write Ą as Ą
  2. Write Ć as Ć
  3. Write Ł as Ł
  4. Write Ó as Ó

等等。

搜寻这里为相当于单code和十六进制值的其他波兰音调符号的字符。

Search here for the equivalent unicode and hexadecimal values for the other Polish diacritic characters.

此外,编译团结在源$ C ​​$ CS的时候,你可能需要提供 - codePAGE:调用MCS编译时UTF8 开关。否则,编译器将默认编码的任何操作系统平台上使用。

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.

这篇关于有些读音符号的字符消失在Android(团结)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆