Loading...
 
Multilingual/i18n

Multilingual/i18n


Mail with UTF-8

posts: 2

Hi there,
I use TikiWiki 1.9.0 and set Default Charset for Sending Mail use UTF-8, but when I insert/modify tracker items, the notify email encoding is not correct, below list the email header from tiki

-----------------------
Return-Path: <XXX@XXX>
X-Original-To: XXX@XXX
Delivered-To: XXX@XXX
Received: by XXX (Postfix, from userid 48)
id 5B7FB4058; Wed, 8 Jun 2005 11:48:29 +0800 (CST)
To: XXX@XXX
From:
-----------------------

and the email original file content is

-----------------------
Return-Path: <XXX@XXX>
X-Original-To: XXX@XXX
Delivered-To: XXX@XXX
Received: by XXX (Postfix, from userid 48)
id 5B7FB4058; Wed, 8 Jun 2005 11:48:29 +0800 (CST)
To: XXX@XXX
From:
Content-type: text/plain;charset=utf-8
Message-Id: <20050608034829.5B7FB4058@XXX>
Date: Wed, 8 Jun 2005 11:48:29 +0800 (CST)
X-yoursite-MailScanner-Information: Please contact the ISP for more information
X-yoursite-MailScanner: Found to be clean
X-MailScanner-From: XXX@XXX
Subject: SPC V1 ?????

Item Modification



???: SPC V1

???: 72

View the tracker item at:
http://lnx1.a-qe.com/tiki/tiki-view_tracker_item.php?trackerId=2&offset=0&sort_mode=lastModif_desc&itemId=72

???? ur04011
???: ????08 of Jun, 2005 11:49

???:

???????? = AQEPBRur04011-012
?????????? = 1
?????? = Wed, 08 Jun 2005 11:47:00 +0800
?????? = Wed, 08 Jun 2005 11:47:00 +0800
???????? = ur04011
??????????? =
??????????? =
?????? = Wed, 08 Jun 2005 11:47:00 +0800
???????email =
????? = 1.??????????????????????: ?????
-----------------------

but I tried to send an UTF-8 encoding test email, the header is

-----------------------
From: "bone" <XXX@XXX>
To: "bone" <XXX@XXX>
Subject: =?utf-8?B?57eo56K85ris6Kmm?=
Date: Wed, 8 Jun 2005 15:29:12 +0800
MIME-Version: 1.0
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
-----------------------

and the email original file content is
-----------------------
From: "bone" <XXX@XXX>
To: "bone" <XXX@XXX>
Subject: =?utf-8?B?57eo56K85ris6Kmm?=
Date: Wed, 8 Jun 2005 15:29:12 +0800
MIME-Version: 1.0
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441

????????

********************
?????
************
-----------------------

It seems the content-type of email header broken into email body, so the email look as below

Content-type: text/plain;charset=utf-8
Message-Id: <20050608034905.28CDD4058@XXX>
Date: Wed, 8 Jun 2005 11:49:05 +0800 (CST)
X-yoursite-MailScanner-Information: Please contact the ISP for more information
X-yoursite-MailScanner: Found to be clean
X-MailScanner-From: apache@XXX
Subject: SPC V1 ?????


Item Modification

??: SPC V1
??: 72

View the tracker item at:
http://lnx1.a-qe.com/tiki/tiki-view_tracker_item.php?trackerId=2&offset=0&sort_mode=lastModif_desc&itemId=72

??: ur04011
??: ? 08 of Jun, 2005 11:49

??:

???? = AQEPBRur04011-012
???? = 1
???? = Wed, 08 Jun 2005 11:47:00 +0800
?????? = Wed, 08 Jun 2005 11:47:00 +0800
???? = ur04011
???????? =
???????? =
?????? = Wed, 08 Jun 2005 11:47:00 +0800
????? email =
???? = 1.????????????? : ???????????????,??????,????:6802???
????? =

posts: 32 Greece

Did you find anything according to your problem? I'm trying to send e-mail notifications in Greek and it's impossible.

I read that this is a problem of PHP mail functions that theiy don't support other charset than UTF-8. Is this true?

Spyk