utf-8 problem in email notification!

Christian Ebert blacktrash at gmx.net
Thu Apr 1 03:51:27 CDT 2010


* drizt on Thursday, April 01, 2010 at 16:11:45 +0800
> Thank you for reply.

If possible, don't respond to digests, thank you.

> Mercurial is V1.5 .
> After setting the environment variable HGENCODING=utf-8, it works ok with the 
> message body, but not with the messalge subject. like this:
> 
> Content-Type: text/plain;
>  charset="utf-8"
> MIME-Version: 1.0
> Content-Transfer-Encoding: base64
> Date: Thu, 01 Apr 2010 01:15:37 -0600
> Subject: =?iso-8859-1?q?/hg/Test=3A_=E4=B8=AD?=
> =?iso-8859-1?q?=E6=96=87=E9=82=AE=E4=BB=B6=E6=8F=90=E9=86=92=E6=2E=2E=2E?=

Are you forcing HGENCODING=utf-8 in a non-utf environment?

> message body is correct!
 
>> -- 
>>  Was hei?t hier Dogma, ich bin Underdogma!
           ^
Seems like your mailer has problems with charset encoding too.
I'm sure I sent that correctly encoded.

What is the output of:

$ locale

?

c
-- 
theatre - books - texts - movies
Black Trash Productions at home: <http://www.blacktrash.org/>
Black Trash Productions on Facebook:
<http://www.facebook.com/pages/Black-Trash-Productions/277569157339>


More information about the Mercurial mailing list