MiraWaNeko / DiscordIntegration

Communicate between Minecraft and Discord
https://discordintegration.net
GNU Affero General Public License v3.0
88 stars 43 forks source link

Color Codes bug #77

Closed C0LiSii0N closed 7 years ago

C0LiSii0N commented 7 years ago

Base informations

Minecraft version: 1.7.10 DiscordIntegration version: 3.0.1 Link to pastebin with (censored) config: Optional "messages": { "chatMessage": "[§5Discord§f]{USER}> {MESSAGE}" },

I used version 2.1.0 and the color code was pasted normally but now it put the color but also "Â" where the § is.

C0LiSii0N commented 7 years ago

When i put it in discord everything is good(No "Â")

Tencao commented 7 years ago

Would like to second this, 1.11.2

MiraWaNeko commented 7 years ago

Make sure you're saving the config file in UTF-8 encoding. Could you check if this fixes it?

Tencao commented 7 years ago

The file was default, and I was saving it as the same type using sublime 3. I'll double check the UTF-8 Encoding but honestly I would try to change or convert the & symbol to § automatically, as a large majority of mods use & for color codes due to issues like this.

Tencao commented 7 years ago

Tried to force save this as UTF-8 with subline, however the bug persists