[Konversation-devel] [konversation] [Bug 362404] Crash with ISO 2022-JP Charset

Eike Hein via KDE Bugzilla bugzilla_noreply at kde.org
Tue May 3 06:51:02 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=362404

--- Comment #4 from Eike Hein <hein at kde.org> ---
codecForLocale() returns UTF-8 for jp_JP on my system, and I'm not up to speed
on whether Japanese networks have modernized and stopped defaulting to jis7
these days, so let's keep it for now ...

KCharsets::codecForName() works with both "ISO 2022-JP" and "ISO-2022-JP" for
me, but returns ISO-8859-1 for jis7, which is ... an interesting development.
It means the jis7 option will actually crash currently.

I'm changing the jp_JP default from jis7 to ISO-2022-JP and mangling jis7 to
ISO-2022-JP (i.e. the reverse of the quoted code), along with adding a fallback
to UTF-8 in case of null codecs.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Konversation-devel mailing list