Localisation
#1
Seems like vanilla minecraft can't send russian letters (even if russian language is chosen)
Not a big problem since localisation mod exist. I can type in russian into chat, but!
MCS can't understand me. It doesn't accept those "freaky encoding" russian letters.
I suppose, MCS uses UTF-8, am I right?

What should I do to implement two-ways char replacement?
Because it looks like if I'm processing chat message in OnChat() I can't change chat text AND give changed text to other plugins...
Any ideas?
Reply
Thanks given by:
#2
I haven't actually looked, but I suspect MCServer doesn't do ANY kind of conversion - what bytes come in the chat packet, those bytes are sent up to the plugins. Sorry not to have more info.
Reply
Thanks given by:
#3
Seems like client -> server -> client russian letters chat is fine... So, not necessary. Could be useful for logging and server sending messages in different languages, but again - not necessary Smile
Really weird - I had to post this answer 3 timesBig Grin
Reply
Thanks given by:
#4
(06-12-2012, 04:45 AM)xoft Wrote: I haven't actually looked, but I suspect MCServer doesn't do ANY kind of conversion - what bytes come in the chat packet, those bytes are sent up to the plugins. Sorry not to have more info.

Really? Doesn't cPacket::ReadString16() truncate the upper part of the characters?
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)