UTF-8 and russian

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
RmzVoid
Posts: 35
Joined: Fri Mar 10, 2006 1:40 pm
Location: Russia

UTF-8 and russian

Post 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?
Now modding L2J...
L2J server revision: 5522
L2J datapack revision: 9008
User avatar
VlLight
L2j Veteran
L2j Veteran
Posts: 577
Joined: Fri Dec 14, 2007 11:58 am
Location: Russia

Re: UTF-8 and russian

Post 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.
User avatar
RmzVoid
Posts: 35
Joined: Fri Mar 10, 2006 1:40 pm
Location: Russia

Re: UTF-8 and russian

Post by RmzVoid »

-Dfile.encoding=UTF8
This help for me, thanks VlLight.
Now modding L2J...
L2J server revision: 5522
L2J datapack revision: 9008
Post Reply