
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tlug] Japanese in Perl on Linux
>>>>> "simon" == simon colston <simon@example.com> writes:
simon> The only way to specify the actual character encoding of
simon> the headers is to base64 encode them.
Actually, it's MIME encoded-words that you need. You could use
quoted-printable and even limit quoting to the escape characters at
either end (and a few others, such as spaces and equal signs, that may
not appear within an encoded-word), but it is deprecated practice to
use QP unless the ASCII characters stand for themselves. See RFC
2047, section 4:
The "Q" encoding is recommended for use when most of the characters
to be encoded are in the ASCII character set; otherwise, the "B"
encoding should be used. Nevertheless, a mail reader which claims
to recognize 'encoded-word's MUST be able to accept either encoding
for any character set which it supports.
Which suggests this rule for .procmailrc:
:0:
* =\?iso-8859-([1-9]|1[0-6])\?b
/dev/null
:-þ
--
Institute of Policy and Planning Sciences http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.
Home |
Main Index |
Thread Index