Summary: | Crash with SIGSEGV (sending messages in UTF-7) | ||
---|---|---|---|
Product: | [Applications] konversation | Reporter: | EvilZluk <evilzluk> |
Component: | general | Assignee: | Konversation Developers <konversation-devel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Slackware | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
EvilZluk
2006-02-15 15:54:01 UTC
I'm sorry, I was mistaken, this bug for Konversation... SVN commit 542059 by shin: Remove ucs2 and utf7 from the encodings list because they are not supported on IRC. Thank you for the report. BUG: 122038 M +9 -3 irccharsets.cpp --- trunk/extragear/network/konversation/src/irccharsets.cpp #542058:542059 @@ -1,5 +1,5 @@ // A wrapper for KCharsets -// Copyright (C) 2004 Shintaro Matsuoka <shin@shoegazed.org> +// Copyright (C) 2004, 2006 Shintaro Matsuoka <shin@shoegazed.org> /* This program is free software; you can redistribute it and/or modify @@ -147,9 +147,15 @@ while ( it != m_descriptiveNames.end() ) { QString encodingName = KGlobal::charsets()->encodingForName( *it ); - // exclude utf16 and ucs2 - if ( encodingName == "utf16" || encodingName == "iso-10646-ucs-2" ) + kdDebug() << encodingName << endl; + // exclude encodings which are not supported on IRC + if ( encodingName == "iso-10646-ucs-2" || + encodingName == "ucs2" || + encodingName == "utf16" || + encodingName == "utf7" ) + { it = m_descriptiveNames.remove( it ); + } else { m_shortNames.append( encodingName ); |