Bernd Fondermann wrote:
Sorry to write that, but I updated to your AddFooter patch ;-) -- and
got what seems to be a new one of the old one...
This is really weird: I checked the code and it seems correct: It passes
also if I set different standard encodings for my environment.
Maybe your environment don't understand correctly the cp1252 charset: I
changed the test to work on unicode chars and the iso-8859-15 charset.
I used the euro char in my test because it has 2 different codes in
cp1252 and iso-8859-15 charsets: 0x80 in cp1252 and 0xA4 in iso-8859-15.
The AddFooter mailet should keep the charset of the mail, so adding the
euro char in the footer should result in =A4 when the original mail is
iso-8859-15 and =80 when the original mail is cp1252.
Let me know if this works now.
Testcase: testAddFooterTextPlainCP1252toISO8859 took 0.005 sec
FAILED
expected:<...80...> but was:<...A4...>
junit.framework.ComparisonFailure: expected:<...80...> but was:<...A4...>
[...]
Except from that, all tests pass. Thanks a lot for doing the fixes!
Bernd
Thank you for your help!
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]