[Mailman-Users] Problem archiving Japanese messages

Akira Tagata tagata at rand.co.jp
Wed May 31 10:45:14 CEST 2000


This was wrong.

> From: Akira Tagata <tagata at rand.co.jp>
> Date: Wed, 31 May 2000 17:30:14 +0900

[snip]

> I have modified Archiver.py to invoke nkf from Mailman before the internal
> archiver process as follows.  Your hint was so valuable.
> 
> 
> | $ diff Mailman/Archiver/Archiver.py Mailman/Archiver/Archiver.py.20000531 
> | 233,241d232
> | < 		    ########## nkf before internal archiver ##########
> | < 		    import popen2
> | < 		    (nkfout, nkfin) = popen2.popen2('/usr/bin/nkf -me')
> | < 		    nkfin.write(txt)
> | < 		    nkfin.close()
> | < 		    tmptxt = nkfout.read()
> | < 		    nkfout.close()
> | < 		    txt = tmptxt
> | < 		    ########## nkf before internal archiver ##########
> 
> The original code is from Mailman v1.1 on the Debian GNU/Linux 2.1
> distribution.
> 
> This may not be a good manner because I am only a newbie for Python.

A large text process was blocked.
Let me know how to escape from this blocking.


[snip]


-- 
Akira Tagata <tagata at rand.co.jp>
R&D Computer Co., Ltd. / Tokyo




More information about the Mailman-Users mailing list