hosijyun / smali

Automatically exported from code.google.com/p/smali
0 stars 0 forks source link

How to write arabic strings in Smali code ? const-string ? #229

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
hey every one . i'm hacking an android game i just want put arabic character 
unicode-8 to menu strings but its show like that when i package the game = " 
???? " is there anyway to write in arabic languages ?

Original issue reported on code.google.com by farhad.c...@gmail.com on 9 Nov 2014 at 11:18

GoogleCodeExporter commented 9 years ago
Hahaha Guys , I Answered my question by Searching this one . You have to 
convert all your Unicode characters to numeric escapes. That way your source 
code becomes encoding-independent.

You can use online tools for conversion, such as this one. 
http://rishida.net/tools/conversion/ It outputs the JavaScript escape format 
\uXXXX, so just search & replace \u with \x

Original comment by farhad.c...@gmail.com on 9 Nov 2014 at 11:59

GoogleCodeExporter commented 9 years ago

Original comment by jesusfreke@jesusfreke.com on 9 Nov 2014 at 9:41

GoogleCodeExporter commented 9 years ago
كتابة و اضافة اللغة عربية الى كود سمالي Smali 
code 
عن  طريق موقغ اونلاين http://rishida.net/tools/conversion/ 
جافا ديكس , سمالي كود , Smali code Java

هذا القضية ل عمل برنامج اندرويد مع برمجة 
سمالي .

فرهاد كوردي..

الامثلة :

مرحبا = \u0645\u0631\u062D\u0628\u0627

بعد تحويل عن طريق موقع اونلاين 
http://rishida.net/tools/conversion/

Original comment by farhad.c...@gmail.com on 9 Nov 2014 at 11:58