Tuesday, April 26, 2011

Converting special Characters in properties file to UTF8 using native2ascii


Eg: Converting poland special charectres to native language
1.  Rename the file provided by the customer (i.e., storetext.properties) to storetext.nta
2.  Run the following command:                                                 C:\WebSphere\IBM\SDP\runtimes\basev7\java\bin\native2ascii -encoding utf-8 <.nta-file locaiton> <target file name with path>
3.  Target properties file is your converted file.