open.mp
open.mp copied to clipboard
Chinese encoding problem!!!
trafficstars
Describe the bug Chinese will not display correctly anywhere with openmp. not only config.json and gamemode.pwn my sublime-text encoding is "utf-8"
To Reproduce
<<gamemode.pwn>> #include <open.mp> main() { print("你好,世界!"); }
<<config.json>>
"language": "简体中文", "name": "中文游戏",
config.json调中文服务器名确实在旧版客户端里会乱码。
地图可以用gbk格式的,我是这样解决的..
Use server.cfg if you can't use utf8 (config.json is utf8, because json is, there's no way around it) samp launcher does not support utf8, but open.mp launcher does (and other encodings)