简体   繁体   English

使用Apportable SDK从iOS移植时,俄语文本在Android游戏中不起作用

[英]Russian text is not working in Android game when ported from iOS using Apportable SDK

I have successfully ported our game to Android from iOS using Apportable starter SDK. 我已使用Apportable入门版SDK成功将游戏从iOS移植到Android。

I have come across a issue in which the device is decoding Russian text of the game , i have included screen shots and where i have given such Russian texts in xcode.As you see from the i have typed the word "Test" in English which is displayed properly and whereas the Russian text is displayed in some form of code. 我遇到了一个问题,其中该设备正在解码游戏的俄语文本,其中包括屏幕截图,并且在xcode中给出了此类俄语文本。从i中可以看到,我在英语中键入了“ Test”一词,正确显示,而俄语文本以某种形式的代码显示。

NSArray *objects = [NSArray arrayWithObjects:@"\\n Test Разъезжая по сказочным землям и устраивая веселые дискотеки, я добрался до Пушляндии. Я много слышал о веселых и дружных жителях этой страны - Пушистиках. Узнав о моем появлении, они шумной толпой прибежали на мою вечеринку..."];

Stack overflow is not allowing me to add screenshots so i am adding links.The first screenshot shows the way i want the text to display in android adb second screenshot shows the current way its displayed. 堆栈溢出不允许我添加屏幕截图,所以我要添加链接。第一个屏幕截图显示了我希望文本在android adb中显示的方式,第二个屏幕截图显示了其当前显示方式。

I will provide more detailed description or code if required. 如果需要,我将提供更详细的描述或代码。

Screenshot iOS: http://imgur.com/IX1ALye iOS屏幕截图: http //imgur.com/IX1ALye 在此处输入图片说明 Screenshot Android: http://imgur.com/oJmAoMO Android屏幕截图: http //imgur.com/oJmAoMO 在此处输入图片说明

Maybe i will be captain obviously it`s looking like file encoding error after port. 也许我将成为船长,显然它看起来像移植后的文件编码错误。 Russian texts sometimes ussing cp-1251 encoding not utf. 俄语文本有时会使用cp-1251编码而不是utf。 I hope i will help you to find solution. 希望我能帮助您找到解决方案。

Ps Sorry i dont have enought reputation to add comment so i post it like answer. 抱歉,我没有足够的声誉来添加评论,所以我将其发布为答案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 从Android移植到IOS / Xcode时Unity App大小加倍 - Unity App size doubled when ported from android to IOS/Xcode 如何使用Apportable将cocos2d v2.1 ios游戏移植到Android - How to port cocos2d v2.1 ios game to Android using Apportable 使用JavaScriptCore编译适用于Android的Apportable游戏 - compiling Apportable game for Android with JavaScriptCore 使用Apportable将iOS应用转换为Android-构建时出现各种参考和定义错误 - Convert iOS app to Android using Apportable - various reference and definition errors when building 使用Apportable和CCButton时Android上的openGL错误0x0502 - openGL error 0x0502 on Android when using Apportable and CCButton 使用Apportable时,您可以在xcode中安装Android设备模拟器吗? - Can you install an Android Device Simulator in xcode when using Apportable 尝试将iOS应用分配给Android时出错 - Error while trying to apportable iOS app to Android 使用apportable在纵向视图中移植到android - using apportable to port to android in portrait view 当我重播游戏时,它的速度从之前的速度增加,游戏在电晕版SD中崩溃,用于Android平台 - when i replay the game its speed increase from previous speed and game crashed in corona sdk for android platform 尝试使用Apportable在Android手机上运行应用程序时出现PTP_ERROR_IO - PTP_ERROR_IO when trying to run app on Android phone using Apportable
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM