It is hard to keep this blog thing going. Anyway I am going to do mybest to at least store tech chunks here, so that they may be usefult to someone.
I had someone fix up my bad japanese last week in a properties file for struts application that I have written. However he was a mac user and when it came to me, the tezt was encoded in unicode ascii, and probably the file itself was euc_jp. Well I used notepad++ to change it first to windows formatting (line breaks etc) from the format menu.
Then I changed it from Ansi to UTF-8 also from the format menu.
Then I used the Java SDK native2ascii tool from the command like this,
I had someone fix up my bad japanese last week in a properties file for struts application that I have written. However he was a mac user and when it came to me, the tezt was encoded in unicode ascii, and probably the file itself was euc_jp. Well I used notepad++ to change it first to windows formatting (line breaks etc) from the format menu.
Then I changed it from Ansi to UTF-8 also from the format menu.
Then I used the Java SDK native2ascii tool from the command like this,
L:\"%JAVA_HOME%\bin\native2ascii" -reverse -encoding UTF-8 ApplicationResources.properties ApplicationResources-nat.propertiesLes voila