[patch] Charset conversion between locale and HTTP content

IKEDA Soji <[email protected]>
Newsgroups gmane.mail.sqwebmail
Message-ID <[email protected]>
This is that I want to do...


Generally, charset can be differ between:
  - System locale           (e.g. EUC-JP etc.)
  - HTTP content            (e.g. SHIFT_JIS, UTF-8 etc.)
  - Outgoing e-mail message (e.g. ISO-2022-JP)

Attached patch will solve this charset problem only between
system locale and HTTP content.


o libcharset by Bruno Haible is requested.
  When system has no libcharset, included libcharset will be
  linked.

  - When included charset is selected, configuration file
    charset.alias.dist will be installed.  Rename / copy 
    it to charset.alias (and, if needed, edit it).

o New configure option: --with-included-libcharset=(yes|no)


Known problem:

o On FreeBSD 4.x, some locales are not supported by included 
  libcharset.
  An alternative is installing libiconv from ports (1.9.1_3 or 
  later is required).


  --- nezumi
sqwebmail-3.6.2-system_charset-1.1.patch.gz (application/x-gzip, 10.5 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.