Hi, Now, I try to test MHonArc2002-12-16-snap.
Sometime, I would like to send the mail with some attachement in the plain-text-file wrote with Shift_JIS for MS Windoze users. ;; Japanese Windows using Shift_JIS, the simple text file wrote with ;; Shift_JIS is easy hadling and editing with NOTEPAD for a lot of ;; Windoze users. MHonArc could not handle these type attachement yet? Problem: unintelligible sequence of characters. plain/text file could not be attachement (only inline..). If I send text/plain part with ISO-2022-JP or EUC-JP, view only inline(would not be attachment), but no problem for reading. like these (I try content-disposition: attachment with base64)
このファイルの形式は、 文字コード(charset) : Shift_JIS 改行コード(line-break) : CR LF です。
MHonArc converted as follow (source); (I try content-disposition: inline with base64)
<!--X-Head-Body-Sep-End--> <!--X-Body-of-Message--> <pre>飛田です。 これは、text/plain Shift_JIS なテキストファイル添付のテストです。 == attachment spec == o text/plain; charset=Shift_JIS (CRLF) o content-disposition: attachment; o encoding: base64 </pre><pre>?ア?フ?t?@?C???フ?`?ョ?ヘ?A ?カ???R?[?h(charset) : Shift_JIS ???s?R?[?h(line-break) : CR LF ?ナ?キ?B </pre><pre> </pre><pre>うまくアーカイブ出来るでしょうか?
I copy and convert charset CharEnt/EUC_JP.pm to CharEnt/SHIFT_JIS.pm (trying by NKF and XEmacs 21.4.10 with mule-ucs, and Emacs 21.2 with mule-ucs) ;; I just had made "2002-12-02-snap" style one, refer from ;; http://www.unicode.org/ (-; ;; http://www.stained-g.net/shinichiro/mhonarc/CP932.pm.gz (and also bz2) ;; It's noneed now.. and adding follow 1 line in CharEnt.pm; line 121: 'shift-jis' => 'MHonArc/CharEnt/SHIFT_JIS.pm' ;; I'm sorry, I could not understand Perl.. I must through the sub functions in CharEnt.pm? My .mrc file as follow; <DecodeHeads> <CharsetConverters> ISO-2022-JP; MHonArc::CharEnt::str2sgml; MHonArc/CharEnt.pm Shift_JIS; MHonArc::CharEnt::str2sgml; MHonArc/CharEnt.pm iso-8859-1; MHonArc::CharEnt::str2sgml; MHonArc/CharEnt.pm iso-8859-4; MHonArc::CharEnt::str2sgml; MHonArc/CharEnt.pm </CharsetConverters> <MIMEARGS> m2h_external::filter; attachcheck </MIMEARGS> <MIMEFILTERS> m2h_text_plain::filter; attachcheck,asis:us-ascii,default=iso-2022-jp </MIMEFILTERS> [...] If I had some wrong settings, please pointing out. Thanks. -- Shinichiro HIDA mailto:[EMAIL PROTECTED] GPG fingerprint = 5F2D 1656 FFF6 F691 A51C 5E61 E416 D398 470C 1CE9