Hi Andrei!

You wrote:

> Following a hunch I got for a while [the output with -g is the same as 
> running 'iconv -f iso-8859-1 -t utf-8', (note: iso-8859-1, not 
> iso-8859-2)] I tried this small patch
> 
> ,----[  ]
> | Index: check_trans.pl
> | ===================================================================
> | RCS file: /cvs/webwml/webwml/check_trans.pl,v
> | retrieving revision 1.88
> | diff -u -u -r1.88 check_trans.pl
> | --- check_trans.pl  15 Dec 2008 18:02:22 -0000      1.88
> | +++ check_trans.pl  16 Dec 2008 19:49:29 -0000
> | @@ -522,7 +522,7 @@
> |             # and attach the body to the mail
> |             my $part = MIME::Lite->new(
> |                     'Type' => 'text/plain',
> | -                   'Data' => encode('utf-8',$mailbody),
> | +                   'Data' => $mailbody,
> |             );
> |             $part->attr( 'content-type.charset' => 'utf-8' );
> |             $msg->attach( $part );
> `----
> 
> and whaddaya know, it works for me!

Hmm, which version of perl and MIME::Lite are you using?  I tested this
on etch, an I'm sure it doesn't work, but it might have been fixed in
newer versions of perl and/or MIME:Lite.

Bas.

-- 
+--------------------------------------------------------------+
| Bas Zoetekouw      | Sweet day, so cool, so calm, so bright, |
|--------------------| The bridall of the earth and skie:      |
| b...@zoetekouw.net  | The dew shall weep thy fall tonight;    |
+--------------------|                    For thou must die.   |
                     +-----------------------------------------+


-- 
To UNSUBSCRIBE, email to debian-www-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to