[i18n] IMP 4: Korean user problems

Jan Schneider jan at horde.org
Wed Jan 26 10:40:31 PST 2005


Zitat von Nate Carlson <natecars at real-time.com>:

> On Wed, 26 Jan 2005, Nate Carlson wrote:
>> ...and a broken one:
>>
>> ---<headers>---
>
> <...>
>
>> ------=_NextPart_000_0022_01C502EB.F8DE8570
>> Content-Type: text/plain;
>>         charset="ks_c_5601-1987"
>> Content-Transfer-Encoding: quoted-printable
>
> Oddly, if I change ks_c_5601-1987 to EUC-KR, this message looks right
> again.

Yeah, the libraries we use to convert charsets, don't know the
ks_c_5601-1987 charset. You can either try to locate the charmap for EUC-KR
on your system (mine are in /usr/share/i18n/) and create a symbolic link to
KS_C_5601-1987. Or go to lib/Horde/Util/String.php and add
if ($from == 'ks_c_5601-1987') {
     $from = 'EUC-KR';
}
to the convertCharset() method after the String::lower lines.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the i18n mailing list