[Mailman-Users] encoding problem (french)

Tara Star tellme at climbtothestars.org
Tue Oct 4 12:14:45 CEST 2005

On Oct 4, 2005, at 02:26, Mark Sapiro wrote:

>> Only problem is the .po will not compile. Of course, I tried
>> compiling the original .po just to make sure I hadn't messed things
>> up with iconv, and it doesn't compile either :-(
> Are you compiling with Mailman's bin/msgfmt.py or some other msgfmt
> implementation. This may be the problem. The original file should
> compile OK with bin/msgfmt.py.

YAY! that was the missing bit. I was using /usr/bin/msgfmt

Here is what I did:

iconv -f iso-8859-1 -t utf-8 -o mailman.po.new mailman.po # convert  
from latin-1 to utf-8
mv mailman.po mailman.po.old # just in case
mv mailman.po.new mailman.po
../../../bin/msgfmt.py mailman.po # generate .mo from .po


Thanks for the help!


More information about the Mailman-Users mailing list