[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JIS subject lines get mangled



> I can create a new archive by doing this:
> 
> mhonarc -add /path/to/messages/*
> 
> ...but the few messages with the subject line in JIS instead of MIME are 
> garbled. What's the trick to fix it? For the life of me I can't think of a 
> way to add 'nkf -m -e' to the command above.

Just try:

#!/bin/sh
for i in /path/to/messages/*
do
    nkf -m -e $i | mhonarc -add
done

-- 
Koichi Nakatani
Konica Corporation, Tokyo, Japan

[Index of Archives]     [Bugtraq]     [Yosemite News]     [Mhonarc Home]