[Konversation-devel] [Bug 97951] Actions are not displayed under
UTF-8
ismail cartman donmez
ismail at kde.org.tr
Wed Feb 2 21:06:49 CET 2005
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=97951
ismail kde org tr changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From ismail kde org tr 2005-02-02 21:06 -------
CVS commit by cartman:
Make unicode work in actions again. Needed to revert Dirk's patch. Because if KStringHandler::isUtf8() returns
false it doesn't mean string is necessarily not unicode. So instead of reverting to ISO-8859-1 ourselves, use
channel encoding specified by user or identity codec.
BUG:97951
M +0 -5 server.cpp 1.432
--- kdeextragear-2/konversation/konversation/server.cpp #1.431:1.432
@ -1063,9 +1063,4 @ void Server::incoming()
codec = IRCCharsets::codecForName(channelEncoding);
-
- // if channel encoding is utf-8 and the string is definitely not utf-8
- // then try latin-1
- if ( !isUtf8 && codec->mibEnum() == 106 )
- codec = QTextCodec::codecForMib( 4 /* iso-8859-1 */ );
inputBuffer << codec->toUnicode(qcsBufferLines.front());
}
More information about the Konversation-devel
mailing list