• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to show JAD file in Chinese?

 
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In Java code, I can use unicode for Chinese. Everything works fine except the jad for download games.
However, in jad file, if I want to show
MIDlet-Name: 我的游戏
MIDlet-Vendor: 我的公司
The file reads correctly on Chinese OS. However, it becomes garbages on my Chinese handset, just like it is on a US handset.
I tried unicode, escaped unicode, native Chinese written on a Chinese OS, none of them works.
Please give me some hint on how to do this. If you have a sample jad file works on a Chinese handset, please send to me. My email is javachina@hotmail.com. I can test it to see its encoding and test it on my Chinese handset.
Thanks in advance!
Roseanne
 
Roseanne Zhang
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
BTW, Can you help, Mr. Yuan
I think you must know the answer.
给你拜年,新春快乐,万事如意!
Roseanne
 
author
Posts: 1436
6
Python TypeScript Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oh, I wish I know! But UTF-8 *should* work ... Have you checked your JAR manifest file and make sure it has the same characters as the JAD file? Does the Chinese encoded string inside your MIDlet display OK on the UI?
If this is a Nokia handset, Forum Nokia has a pretty active Chinese developer site
http://discussion.forum.nokia.com/forum/forumdisplay.php?s=&forumid=74
maybe they can help with your questions.
 
Roseanne Zhang
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I tries UTF, and don't know how to make it work. The nokia forum is pretty good. Some even talked about the jad/manifest in Chinese, but somehow, it does not work.
Don't know what to do? Given-up temperarily, and use English for now. All other things have already 汉化了.
 
Roseanne Zhang
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I suspect that my handset could show Chinese, but it is not really a Chinese OS. But I'm not sure.
We should make the entire jad UTF or just the midlet name?
 
Roseanne Zhang
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you for the link, now I see why.
There are some known problems with OTA downloading with Chinese in jad/manifest. There are also some known problems with nokia3650/7650. The suggestion is keep jad/manifest files in English even for some Chinese developers in China.
Since we are using OTA and support 3650/7650/etc. plus many non-nokia phones, I'll just keep jad/manifest in English unless someone has a better suggestions...
If you know some better solutions, please let me know. Put this information back here might save time of someone else.
Thanks again!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic