Notes on using Japanese character code (Shift-JIS)

From emmtrix Wiki
Jump to navigation Jump to search

If the source code to be analyzed uses Japanese character code (Shift-JIS) on Windows, the following JAVA exception message may be output when analyzing with ePS.

Error: Exception ''java.lang.StringIndexOutOfBoundsException''

To avoid this, it is recommended to use UTF-8 character code for the source code to be parsed.

To convert the character encoding of multiple source codes at once, you can use a script such as the one linked below.

Batch conversion of multiple files' character codes with Windows PowerShell: https://atmarkit.itmedia.co.jp/ait/articles/0804/18/news155.html