Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with non-ANSI characters in channel names #400

Open
MilkyPL opened this issue Jul 27, 2021 · 1 comment
Open

Problems with non-ANSI characters in channel names #400

MilkyPL opened this issue Jul 27, 2021 · 1 comment

Comments

@MilkyPL
Copy link

MilkyPL commented Jul 27, 2021

After putting :channels (:after-auth "#cafè") in my config, circe would connect to #cafè instead. Using the /join command manually works fine.

@wasamasa
Copy link
Collaborator

Seems to be an encoding issue. A similar problem has been found with passwords containing accented characters.

So what most likely happens:

  • Channel name is interpreted as UTF-8 encoded string (five codepoints, with è being one)
  • Connection to network is established, with the server supporting the latin1 encoding
  • UTF-8 encoded string is interpreted as latin1 (six characters, with è being turned into è)

What would need to happen instead is some sort of recoding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants