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?
UTF-8 and russian
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- RmzVoid
- Posts: 35
- Joined: Fri Mar 10, 2006 1:40 pm
- Location: Russia
UTF-8 and russian
Now modding L2J...
L2J server revision: 5522
L2J datapack revision: 9008
L2J server revision: 5522
L2J datapack revision: 9008
- VlLight
- L2j Veteran
- Posts: 577
- Joined: Fri Dec 14, 2007 11:58 am
- Location: Russia
Re: UTF-8 and russian
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.
- RmzVoid
- Posts: 35
- Joined: Fri Mar 10, 2006 1:40 pm
- Location: Russia
Re: UTF-8 and russian
This help for me, thanks VlLight.-Dfile.encoding=UTF8
Now modding L2J...
L2J server revision: 5522
L2J datapack revision: 9008
L2J server revision: 5522
L2J datapack revision: 9008