Support for Cyrillic characters in the displayed Title
VladOliinyk opened this issue · 6 comments
Hello there!
Unfortunately, right now the title containing Cyrillic characters looks like.. this:
This is quite sad because Minecraft titles work fine with Cyrillic. I guess there are some troubles with UNICODE encoding.
So the only possible way to set up the Cyrillic title is to manually edit the course.json file and replace the display name with the Unicode text (https://unicode-table.com/en/tools/decoder/)
Thanks a lot <3
Cyrillic characters works fine for me, my strings.yml
has UTF-8 encoding, maybe your strings.yml
uses different encoding?(ASCII or Windows-1251)
strings.yml
Update: after the server restart, the encoding breaks, and the title looks crazy again 😣😥
Hi, Could you please provide more information as I've tried to replicate the issue you're having and cannot.
I've used this webite to find example characters: https://en.wikipedia.org/wiki/Cyrillic_script
Included a few in a default string.yml message and run it multiple times, reloading the config, restarting the server and nothing ever seems to break. Am I missing something?
Hello! Thanks for working on this ❤️
In my case, I was typing the course name in the game first, so the input was from my keyboard, just a few words. But them were displayed wrong, as on the screenshot I’ve attached to the first message.
The letters on your screenshot looks fine except a few ones that I’ve never ever seen before 😅
I’m off my pc now, so can’t test right now, but will update this thread asap.
But could you enter the Cyrillic words as a course title (that was displaying blue)?
For examples, you can use this wikipedia article, just copy 1-2 words from anywhere.
https://uk.m.wikipedia.org/wiki/%D0%A3%D0%BA%D1%80%D0%B0%D1%97%D0%BD%D0%B0
Also, regarding the configs, when I’ve opened them with a SublimeText - the “name” also looks broken, as the displayed title in Minecraft, and I was trying to “Reopen with encoding…” feature in sublime, and that wasn’t help since the file is overwritten by the plugin (as I understand) after restart/reload.
Again, I will update the topic with my test cases asap. Will try to make it tomorrow, or on Monday.
Anyway, here are a few examples:
English :: Ukrainian
"Test route" :: "Тестовий маршрут"
"Don't even try" :: "Навіть не намагайся"
"Awesome run" :: "Чудовий забіг"