Page 1 of 1

UTF-8 and russian

Posted: Mon Dec 24, 2012 6:47 am
by RmzVoid
I have some russian custom messages hardcoded in core sources. I am convert this to utf-8 and this work fine.
But then I want to use russian in datapack scripts (itemhandlers) i cant get proper result. I have utf-8 for .java contained russian message, but ingame i have a crap. Any help with russian in DP scripts?

Re: UTF-8 and russian

Posted: Mon Dec 24, 2012 7:45 am
by VlLight
If you launch server on Windows OS, try to add -Dfile.encoding=UTF8 parameter in launch string. I experienced same problem, but with both core and datapack. Maybe it will help you.

Re: UTF-8 and russian

Posted: Mon Dec 24, 2012 8:18 am
by RmzVoid
-Dfile.encoding=UTF8
This help for me, thanks VlLight.