After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 344862 - Umlauts in channel names don't work
Umlauts in channel names don't work
Status: RESOLVED NOTGNOME
Product: xchat-gnome
Classification: Other
Component: general
0.11
Other All
: Normal minor
: ---
Assigned To: xchat-gnome maintainers
xchat-gnome maintainers
Depends on:
Blocks:
 
 
Reported: 2006-06-14 11:41 UTC by Sebastian Breier
Modified: 2006-09-25 14:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Breier 2006-06-14 11:41:49 UTC
Please describe the problem:
I'm in a channel on QuakeNet that uses a couple of 'ü' Umlauts in the name. I can join and listen to conversations, but when I type something it says

<Tomcat__> test
--- #plwerlüpwelü :No such channel

(Channel name has been changed because it's a private channel ;))

Steps to reproduce:
1. Join IRC server
2. /join #plwerlüpwelü
3. Type something


Actual results:
I get "no such channel" error message

Expected results:
It should send the message to the channel

Does this happen every time?
Yes

Other information:
Comment 1 Sebastian Breier 2006-06-14 11:44:20 UTC
See also https://launchpad.net/products/xchat-gnome/+bug/49709
Comment 2 Guillaume Desmottes 2006-06-14 11:49:51 UTC
Which encoding are you using on this server?
Comment 3 Sebastian Breier 2006-06-14 11:54:30 UTC
Encoding is UTF-8.
Comment 4 David Trowbridge 2006-06-17 03:20:59 UTC
hmm, #plwerlüpwelü works for me on gimpnet
Comment 5 Guillaume Desmottes 2006-06-17 22:51:58 UTC
for me too
Comment 6 Sebastian Breier 2006-06-18 07:55:57 UTC
Works on euIRC as well; But I still can't really agree that it's a bug on the IRCd side - this channel name worked for me for months in regular xchat.
Comment 7 David Trowbridge 2006-06-18 08:03:44 UTC
I think it's just got to be a question of finding the right encoding for the server.  However, it's odd that you can join it if the encoding was the problem.
Comment 8 Sebastian Breier 2006-06-18 09:25:19 UTC
As for encoding, I got another thing that might be important...

I use a script that joins the channels in QuakeNet, because it has to set the hostmask cloak first (which isn't possible with xchat autojoin). When I imported the qnet.py from regular xchat to xchat-gnome, the file itself was UTF-8. When I first ran the script, I joined the channel #plwerlã£â¼pwelã£â¼ instead of #plwerlüpwelü - and still got "no such channel". This is the same thing that happens when I join manually.

So, I changed the encoding of qnet.py to ISO-8859-15... this way, the channel name stays correct, but doesn't work either.

Maybe that sheds some light onto the issue.
Comment 9 David Trowbridge 2006-09-24 01:46:17 UTC
Well, the python thing is separate.  I just synced up all the core stuff to xchat cvs.  Can you try again with svn?
Comment 10 Sebastian Breier 2006-09-24 16:58:45 UTC
I tried it, but I'm not able to compile it...

I got gnome-common from CVS, compiled and make install'd it, installed libsexy-dev, then got xchat-gnome from SVN. Now autogen says

Checking for forbidden M4 macros...

***Error***: some autoconf macros required to build xchat-gnome
  were not found in your aclocal path, or some forbidden
  macros were found.  Perhaps you need to adjust your
  ACLOCAL_FLAGS?

I don't really know how to adjust these, I'm not often compiling gnome stuff manually... If it's easy to fix I can try again, but if not I guess I'll have to wait till a binary release hits Ubuntu or some other LiveCD.
Comment 11 Guillaume Desmottes 2006-09-24 20:14:26 UTC
Try apt-get build-dep xchat-gnome
to install build dependencies
Comment 12 Sebastian Breier 2006-09-24 21:22:41 UTC
Thanks Guillaume. I could compile it that way.

Now, I've done some more research into the bug, and as Guillaume suspected much earlier, it's a network character encoding issue which is not even a "real xchat bug". I also found out that it's absolutely the same in regular xchat.

The problem is that I usually use UTF8 for encoding. So when I join channel #ü, the IRCd gets two bytes for the umlaut character. The server however doesn't seem to run on UTF8, so instead of joining [ISO]#ü, I'm joining [UTF]#ü, which is [ISO]#ã¼. Which does work, but is not really the channel I tried to join.

When I switch the encoding of QuakeNet to ISO, it works perfectly. Of course then I can't write text in UTF8. :)

It's not a real xchat bug though because the only network I regularly use behaving like that is QuakeNet. Joining the same channel on euIRC works perfectly, so it supports UTF8 channel names. FreeNode disallows access to channels with special characters.

The original bug - the "no such channel" message - appears in conjunction my autojoin-script. If the python script is an ISO file, the channel name is [ISO]#ü, so I can join it. When I write a message, it gets sent with [UTF]#ü as the channel name, and because I'm not inside that channel, I get that error message. Switching the python script to UTF produces the above result (I'm in [ISO]#ã¼).

I hope that wasn't too long to read and understand. ;)
I'm not sure how to proceed. euIRC channels work perfectly, be it with an ISO or a UTF client (although I have to say [ISO]#ü and [UTF]#ü are of course not the same), while QuakeNets IRCd seems to work on ISO only, ignoring the client charset. So I guess we should close the bug... or is there any idea for a good workaround?

In the meantime I'm setting back to ISO-8859-15.
Comment 13 David Trowbridge 2006-09-24 21:25:45 UTC
I can't think of an easy workaround.  The only way I can really think of is to use separate encodings for channels and the server, which isn't something that the xchat core exposes.  At any rate, this should be brought up with the xchat developers using their bug tracker on sourceforge.net, since it's really a core issue.
Comment 14 Sebastian Breier 2006-09-25 14:25:15 UTC
Bug in xchat Bugtracker: https://sourceforge.net/tracker/?func=detail&atid=100239&aid=1564943&group_id=239