Question
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689945000/de627806-229b-451b-ba18-fcfb054a6536.jpg?itok=gQXDYohQ)
Pegasystems Inc.
JP
Last activity: 26 Sep 2017 7:09 EDT
changing file encoding from MS932 to UTF-8
Hi,
I am passing parameter of Text from Navigation rule to an activity. In the process, if the passed String contains Japanese characters, it gets scrambled. In order to get this working, I found out a solution to change file.encoding from defaulted MS932 (SJIS for Microsoft Windows) to UTF-8. I am doing this from setenv.dat by specifying Java option "-Dfile.encoding=UTF-8" and it works.
Does anyone know if this solution is okay to do, or does this give any bad side effect or not? Please see attached for screenshot.
Thanks,