Bug 160803 - Can't connect to IRC Server with Japanese Encoding.
Summary: Can't connect to IRC Server with Japanese Encoding.
Status: RESOLVED FIXED
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-13 23:36 UTC by Yoshinari Takaoka
Modified: 2008-04-14 15:09 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yoshinari Takaoka 2008-04-13 23:36:43 UTC
Version:           the latest svn code(r796569) (using KDE 3.5.9)
Installed from:    Compiled From Sources
Compiler:          gcc 4.2.3 
OS:                Linux

I can't connect IRC Server even to freenode. This Behavior is caused ONLY 
user's identity encoding is Japanese one.(iso-2022-jp, jis7, sjis, euc_jp)

Konvi's raw log is following. It seems Server does not send response by
something reason ...

[2008-04-14 06:34:20] >> NOTICE AUTH :*** Looking up your hostname... 
[2008-04-14 06:34:21] >> NOTICE AUTH :*** Checking ident 
[2008-04-14 06:34:21] >> NOTICE AUTH :*** No identd (auth) response 
[2008-04-14 06:34:21] << NICK mumumu-test
[2008-04-14 06:34:22] >> NOTICE AUTH :*** Found your hostname 
[2008-04-14 06:34:22] << USER mumumu 8 * :Yoshinari Takaoka
[2008-04-14 06:34:36] >> ERROR :Closing Link: 127.0.0.1 (Connection Timed Out) 

- How Reproducible.
Always

- Reproduce steps:

1. Run Konvi, and Press "F2".
2. On Server List, Press "New".
3. Specify server "irc.freenode.net"
4. Press Identity "Edit" Button.
5. In Detail Tab, Specify Encoding "Japanese(iso-2022-jp)".
 (euc_jp, jis7, sjis is also ok)
6. Connect to the server.
Comment 1 Shintaro Matsuoka 2008-04-14 13:42:06 UTC
SVN commit 796836 by shin:

Workaround for a bug in QTextCodec::fromUnicode() for some encodings.
BUG: 160803

 M  +5 -1      server.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=796836
Comment 2 Yoshinari Takaoka 2008-04-14 15:09:22 UTC
I confirmed your fix. Very thanks, strm!

I counld connect and talk in Japanese IRCNet with iso-2022-jp,
 TwitterIRCGateway with UTF-8, freenode with sjis, jis7, euc_jp.