Cuberite Forum

Full Version: Localisation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
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.
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
(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?