01-22-2010, 01:23 AM
Join Date: Jan 2010
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | MidletName Internationalization in JAD
Please Login to Remove!
I am using Eclipse JDE for developing a blackberry application.
I want my application to be named as "máv"(containing an accentuated character).
Eclipse doesnot allowed me to create a blackberry project with name "máv".
Hence, i created the blackberry project with name as "mav" i.e. without using accentuated character. After that i modified the "MidletName" as "máv" in .jad, .rapc and Manifest.mf(present in jar). Then i executed the rapc command again.
The rapc command was executed successfully.
Note:- The encoding of my workspace was "UTF-8". When i try to run rapc command with "ISO-8859-1" as the workspace encoding, i received "Inalid UTF-8 encoding" error.
Now i tried to download the application via OTA by giving the path of jad in the URL. It gave me the confirmation message having "máv"(containing an accentuated character) as the application name.
Now when i pressed the download button it gave me an error as "Invalid Code File".
I think that as rapc command doesnot support UTF-8 encoding, it converts the UTF-8 encoded "á" character to a garbage value and puts it in the cod file. Hence there occurs a mismatch between the MidletName present in jad and cod file.