discord-irc: Unicode character problem

Every message that uses the character ç next to another Unicode returns a strange character.

Using encode: UTF-8

çã Shows how згo çõ Shows how уш

This is problem with the Iconv-lite

This can only be reproduced if the message is sent from irc to discord irc can not be UTF-8

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 20 (2 by maintainers)

Most upvoted comments

I managed to workaround this by adding "encoding": null into "ircOptions": { }, as I don’t need charset recording, because everyone is either using UTF-8 or that is not my problem.

Thanks to:

I started seeing this or something similar after updating to https://github.com/reactiflux/discord-irc/releases/tag/v2.6.1 but I am and my users are using UTF-8.

For example when I say Kyllä (Yes in Finnish) at IRC, it comes to Discord as Kyllä. And in longer strings of text, the ä/ö start turning into Chinese or Japanese characters randomly, but not always.

Someone following this said that this is a result of double-UTF-8 even if I am not sure what that means.