How ensure if java program uses UTF-8 encoding

Posted by Nayn on Stack Overflow See other posts from Stack Overflow or by Nayn
Published on 2010-06-07T16:20:53Z Indexed on 2010/06/07 16:32 UTC
Read the original article Hit count: 162

Filed under:
|

Hi, I recently discovered that relying on default encoding of JVM causes bugs. I should explicitly use specific encoding ex. UTF-8 while working with String, InputStynreams etc. I have a huge codebase to scan for ensuring this. Could somebody suggest me some simpler way to check this than searching the whole codebase.

Thanks Nayn

© Stack Overflow or respective owner

Related posts about java

Related posts about utf-8