[Tickets #850] Re: ks_c_5601-1987 is not supported

bugs at horde.org bugs at horde.org
Thu Jul 16 20:41:43 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/850
------------------------------------------------------------------------------
  Ticket             | 850
  Updated By         | Matt Selsky <selsky at columbia.edu>
  Summary            | ks_c_5601-1987 is not supported
  Queue              | Horde Framework Packages
  Version            | FRAMEWORK_3
  Type               | Bug
  State              | Feedback
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Matt Selsky <selsky at columbia.edu> (2009-07-16 16:41) wrote:

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.






More information about the bugs mailing list