R4Z0R49 / DayZAdmin

DayZAdmin - forked from katzsmile/DayZAdmin
22 stars 17 forks source link

Chat Cyrillic Symbols #70

Open ghost opened 11 years ago

ghost commented 11 years ago

Please make ability to chat not only for english symbols (i'am would see ability to send messages on my native language - Russian, for ex. Привет!)

wriley commented 11 years ago

I copied and pasted the chat above (Привет!) into the dashboard 'Say to global chat' box and it went through to my server. What is the problem you are having with Cyrillic?

ghost commented 11 years ago

Characters appear in the game, but it is not correct and unreadable. Probably in ASCII encoding... in chat you get from word (Привет!) this (������!)

wriley commented 11 years ago

Strange, I see the correct string in game but BEC logs it in different character sets.

BeLog file: 10:17:54 : RCon admin #1: (Global) ÐÑивеÑ!

BEC console on server: 10:17:54 : RCon admin #1: (Global) Привет!

Do you have BEC on your server? If so, do you see the correct global chat string your your BEC log? What version of PHP is on your web server? Do you have php-mbstring installed?

ghost commented 11 years ago

10:17:54 : RCon admin #1: (Global) ÐÑивеÑ! it is not valid. When i'am write on Russian in ArmA 2 Rcon even in BeLog and BEC (and also in game and Server console) i get message Привет!. (For log files see in UTF8 encoding)

ghost commented 11 years ago

I have https://github.com/skynetdev/bliss_admin_panel and there global chat on russian works well! But i like this admin panel and needs this feature here too :)

wriley commented 11 years ago

Please see questions above. When I send 'Привет!' via BlissAdmin I see 'Привет!' in game. BEC logs different characters but in game I see 'Привет!'. I have no idea what I'm reading of course, but it looks the same. :)

ghost commented 11 years ago

Something strange(( When i'am copying this string to admin panel and send, i'am get ingame empty string ends with ! (Something like: (Global) !) in Server console i get 20:54:01 BattlEye Server: RCon admin #1: (Global) Ïðèâåò!

For example work with ArmA 2 Rcon GUI : 20:57:17 BattlEye Server: RCon admin #1: (Global) Привет!

wriley commented 11 years ago

I don't see a functional difference in how bliss_admin_panel is sending RCON commands. It's a modified copy of BlissAdmin from about 2 months ago and the rcon() functions are nearly identical. I'll look into this some more but nothing obvious is jumping out at me.

ghost commented 11 years ago

Ok thanks very much

ghost commented 11 years ago

If you find anything let me know please

wriley commented 11 years ago

I am unable to replicate this issue so am at a loss as to how to proceed. :(

ghost commented 11 years ago

I'am studying now PHP and JavaScript maybe i find solution by myself and say what needs to fix

sharkiller commented 11 years ago

the rcon.php need to be updated to support cyrillic symbols

wriley commented 10 years ago

@sharkiller updated how? I am unable to replicate the issue, it works fine for me. I think this is a local PHP issue. If you have further insight, please share.