6.0.0-beta1
8/11/25

[#850] ks_c_5601-1987 is not supported
Summary ks_c_5601-1987 is not supported
Queue Horde Framework Packages
Queue Version Git master
Type Enhancement
State Rejected
Priority 1. Low
Owners Horde Developers (at)
Requester trustin (at) gleamynode (dot) net
Created 11/19/2004 (7570 days ago)
Due
Updated 10/01/2009 (5793 days ago)
Assigned 07/16/2009 (5870 days ago)
Resolved 10/01/2009 (5793 days ago)
Milestone
Patch No

History
10/01/2009 10:03:25 PM Jan Schneider State ⇒ Rejected
 
07/16/2009 09:06:53 PM Jan Schneider Comment #5 Reply to this comment
I'm still against this because this should really be fixed in iconv instead.
07/16/2009 08:43:47 PM Michael Rubinsky Type ⇒ Enhancement
State ⇒ Feedback
Priority ⇒ 1. Low
 
07/16/2009 08:42:16 PM Matt Selsky Assigned to Horde DevelopersHorde Developers
Priority ⇒ 1. Low
Version ⇒ Git master
 
07/16/2009 08:41:43 PM Matt Selsky Comment #4 Reply to this comment
I think we need to add a character set override mechanism to Horde.



I have a user that received a message in ks_c_5601-1987 (sent via 
Outlook in Korean).



This is a valid character set according to RFC 1345 and IANA 
(http://www.iana.org/assignments/character-sets)



libiconv claims to support this character set in their docs, but the 
software doesn't actually support it.



$ iconv --version

iconv (GNU libiconv 1.13)

Copyright (C) 2000-2009 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law.

Written by Bruno Haible.

$ iconv -l | grep KS_C_5601-1987

ISO-IR-149 KOREAN KSC_5601 KS_C_5601-1987 KS_C_5601-1989 CSKSC56011987

$ iconv -f ks_c_5601-1987 -t utf-8 /tmp/foo.eml

iconv: /tmp/foo.eml:1:0: cannot convert



Other webmail systems have a mechanism to override the character set.



RoundCube: 
https://svn.roundcube.net/trunk/roundcubemail/program/include/main.inc

SquirrelMail: 
http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail/trunk/squirrelmail/include/languages.php?revision=13765&view=markup



Horde should do something similar.
07/16/2009 08:36:29 PM Michael Rubinsky State ⇒ Feedback
Version ⇒ FRAMEWORK_3
 
11/19/2004 01:05:58 PM trustin (at) gleamynode (dot) net Comment #3 Reply to this comment
I digged into this problem more and I found iconv installed on my 
system fails to convert ks_c_5601-1987.  It looks like the bug of 
iconv.  Sorry for the inconvenience! :)
11/19/2004 12:54:08 PM Jan Schneider Comment #2
State ⇒ Not A Bug
Reply to this comment
No, we won't work around certain charsets. What sort of client is 
using this charset?
11/19/2004 12:39:55 PM trustin (at) gleamynode (dot) net Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ ks_c_5601-1987 is not supported
Queue ⇒ Horde Framework Packages
State ⇒ Unconfirmed
Reply to this comment
ks_c_5601-1987 is the same charset with 'euc-kr' but iconv or mbstring 
doesn't seem to support it.  Silently replacing 'ks_c_5601-1987' with 
'euc-kr' will be ok.

Saved Queries