On 2007-12-11 15:27:30 +0100, Vincent Lefevre wrote: > I'll try to provide a simple testcase.
Here is it. To reproduce the bug, run the script. In /tmp/mairix-test, it will create a mailbox with two messages: one with the iso-8859-1 charset, one with the utf-8 charset. Both contain the word "accentué". The script also creates the mairix database under 3 different locales: C, en_US.iso88591 and en_US.utf8 (all installed here). Then cd to /tmp/mairix-test and run the following commands: mairix -f mairixrc-C accentué mairix -f mairixrc-en_US.iso88591 accentué mairix -f mairixrc-en_US.utf8 accentué in iso-8859-1 locales and in utf-8 locales. Here, I get 0 messages except for mairixrc-en_US.iso88591 in iso88591 locales, where I get 1 message: the one written in iso-8859-1. The correct behavior would be 2 messages in each case. -- Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
non-ascii.sh
Description: Bourne shell script

