jimeh / docker-znc

Run the ZNC IRC Bouncer in a Docker container.
136 stars 86 forks source link

Special characters ÅÄÖ is not displayed for certain bots #23

Open nilsi opened 8 years ago

nilsi commented 8 years ago

Hi,

Thanks for the great image!

Everything works well beside for a specific trivia bot in a channel I like. It is not displaying special characters correctly, they only appear as questions marks. However other channels work out fine. I asked another person with ZNC to check out the channel and it displays fine for him. That makes me think its something regarding the docker image itself or the server Im hosting it on. (Digital Ocean)

I tried cloning this repo and adding encoding as described here: http://jaredmarkell.com/docker-and-locales/

I could then see that the encoding was set correctly for the container like this:

nilsi@c4e151f13ad4:/# locale
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8

I also tried connecting to the channel without ZNC and then it displayed it correctly so its not my computer or the client Im using.

Any idea what could be wrong here? Could someone using this container check the channel and see if it displays correctly?

Server: irc.quakenet.org:6667 Channel: #grodan