open.mp icon indicating copy to clipboard operation
open.mp copied to clipboard

Chinese encoding problem!!!

Open iLuXing opened this issue 1 year ago • 2 comments
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": "中文游戏", 1 2 3 4

iLuXing avatar Feb 08 '24 08:02 iLuXing

5

iLuXing avatar Feb 08 '24 08:02 iLuXing

config.json调中文服务器名确实在旧版客户端里会乱码。

地图可以用gbk格式的,我是这样解决的..

qq1258626799 avatar Feb 09 '24 04:02 qq1258626799

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)

AmyrAhmady avatar Jun 28 '24 14:06 AmyrAhmady