DiscordRichPresence

DiscordRichPresence

1M Downloads

[BUG] Cyrillic text isn't supported in text fields

Tander opened this issue · 0 comments

commented

What happened?
Cyrillic (and probably a big part of unicode) text isn't supported in text fields

Was trying to translate default texts to russian, and here how it looks in Discord
Discord_2021-03-10_02-33-58
Discord_2021-03-10_02-36-33

What should happen?
Should showing correct cyrillic text

Steps to reproduce

  • use config attached below
  • When you reach main menu you will see broken cyrillic text instead of "В меню" (In Main Menu)

Version

  • [ x] 1.16

Mod version discordrpc-2.0.7-1.16.4.jar

Config file

#Discord RichPresence Config File
[Rich-Presence]
#First line of Rich Presence
Client-Name = "elittle.net #molten"
#Do you want servers to send you a customized rich presence text?
#Also toggles hardcoded custom icons and text of not fully integrated servers like mineplex
Custom-Messages-From-Server = true
#Placeholders:
#%ip% Server IP
Server-Text = "На сервере %ip%"
#Setting this to true disables name changing through GUI
Disable-Name-changing = false
#Do you want to use custom Hivemc integration (show what game you are playing)?
Hivemc-Integration = false
#Disables config GUI
#Requires config file editing to enable again
Disable-Config-GUI = false
#Do you want to use custom Hypixel integration (show what game you are playing and such)?
Hypixel-Integration = false
#No placeholders supported, Text that shows when you are in the main menu
Main-Menu = "В меню"
#Placeholders:
#%coords% (X:??? Y:??? Z:???)
#%world% World name
Singleplayer-Text = "В мире %world% (%coords%)"
#Custom client id, see https://github.com/ErdbeerbaerLP/DiscordRichPresence/wiki/Set-up-custom-Icons-(for-Modpacks) for more info
#Default: 511106082366554122
client-id = "511106082366554122"
#Do you want to print log of this mod to ingame chat?
LogToChat = false

Additional info

Was trying to convert config file into ANSI