如何在简报中更改Magento Content-Type Charset

时间:2013-12-15 11:33:33

标签: magento character-encoding newsletter

我在Magento发送的时事通讯(1.7.0.2)中遇到了特殊字符(Umlaute,€-Sign,...)的问题。标题如下所示:

Received: (qmail 27694 invoked by uid 10018); 15 Dec 2013 12:18:31 +0100
Message-Id: <20131215111831.27691.qmail@********.de>
To: ***********
Subject: ********* Dezember 2013
X-Php-Originating-Script: 10018:Sendmail.php
From: ******
Date: Sun, 15 Dec 2013 11:18:31 +0000
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Mime-Version: 1.0

我猜问题是错误的字符集...那么如何将字符集从iso-8859-1更改为utf8?

1 个答案:

答案 0 :(得分:2)

您可以在\lib\PEAR\Mail\mime.php\lib\Zend\Mail.php

中找到

不知道是否还要更改这些文件:

\lib\PEAR\Mail\xmail.dtd

\lib\PEAR\Mail\xmail.xsl