Re: patch [big]: fixed Japanese converters

IKEDA Soji <[email protected]>
Newsgroups gmane.mail.sqwebmail
Message-ID <[email protected]>
Updated.  Attached patch is against CVS HEAD.

iso2022jp.h:
  Maps for CJK Compatibility Ideographs has been added.

ksx1001.h & ksx1001.c:
  Newly added charsets:
    ISO-2022-KR (RFC1557)
    EUC-KR
    CP949 (a.k.a. UHC or "KS_C_5601-1987")

unicode.c:
  Error handling by unicode_xconvert() breaks string using multibyte
  (e.g. EUC-JP) and/or stateful (e.g. ISO-2022-*) encoding schemes.

  I modified unicode_xconvert() so that it lets converter functions
  handle conversion errors and then (if possible) retry to handle
  errors by itself.  I'm not sure this behaviour is suitable for 
  all implementation of charsets.


New files:
    cjkcompat.pl
    ksx1001.c
    ksx1001.h  (please generate using ksx1001.pl)
    ksx1001.pl


  --- nezumi
sqwebmail-cvs20040202-unicode_ja-1.1.patch.gz (application/x-gzip, 11.9 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.