java - ISO encoding with Japanese Frame file -
i have japanese content being converted ms tool. problem third party tool isn't using utf-8 encoding , creating .xml garbage characters:
<param name="name" value="ÉaÉvÉäÉpÅÉvÉáÉìdžÇ'ÇËÇØÅǵÇÃ'ÇÃ']"> <param name="name" value="test file"> <param name="local" value="applications.htm#xau1044547"> i tried playing around encoding , produces:
<param name="name" value="ÉaÉvÉäÉpÅ"> <param name="name" value="test"> <param name="local" value="applications.htm#xau1044547"> but utf-8 encoding (another tool) , correct output should be:
<param name="name" value="アプリケーション"> <param name="name" value="small business アプリケーションの起動 "> <param name="local" value="applications1.html#wp1044548"> is there java api can use decode , encode files have correct output. not sure tool using guessing "iso-8859-1".
thanks.
your problem need use two encodings correctly:
- find out encoding "japanese content" uses
- make sure tool correctly uses encoding read content
- make sure tool uses utf-8 encode output file and correctly declares in header.
Comments
Post a Comment