Zen Cart Logo
Forums / General Questions / Problem with confirmation emails in Japanese

Problem with confirmation emails in Japanese

Views: 1,158

Results 1 to 2 of 2
18 Jan 2011, 9:47 AM
#1
gingabox avatar

gingabox

New Zenner

Join Date:
Apr 2009
Posts:
35
Plugin Contributions:
0

Problem with confirmation emails in Japanese

Hello everyone,
I am hoping someone can help me out with a problem I am having with the order confirmation emails when they are sent in Japanese.

The character encoding seems to be fine, but I am still getting garbled characters for some information in the email. It seems to be all of the information coming out of /includes/classes/orders.php but I do not know anyway to fix that.

Thank you in advance if you might have some idea of a fix. Everything else is displaying correctly site wide

The email is received as:

注文確認書 from Lae - http://lae.xtr.jp

ラッセル ライアン���͡Ë

ご利用ありがとうございます。
ご注文内容は以下の通りです。

ご注文番号: 86
ご注文日: 2011年01月18日(Tue)
請求明細書:
http://lae.xtr.jp/index.php?main_page=account_history_info&order_id=86

商品

1 x CCパンツ (pa-001) = ¥3,990
サイズ L

小計: ¥3,990
店頭で受け取り (): ¥0
合計: ¥3,990

お届け先

removed address * it displays correctly

removed address * it displays correctly

Bank Transfer /銀行振替 Pay at the Store
/店の支&#25173

30 Apr 2011, 6:05 AM
#2
cjcraven avatar

cjcraven

Zen Follower

Join Date:
Aug 2004
Location:
Osaka Japan
Posts:
149
Plugin Contributions:
0

Re: Problem with confirmation emails in Japanese

gingabox:

Hello everyone,
I am hoping someone can help me out with a problem I am having with the order confirmation emails when they are sent in Japanese.

The character encoding seems to be fine, but I am still getting garbled characters for some information in the email. It seems to be all of the information coming out of /includes/classes/orders.php but I do not know anyway to fix that.

Thank you in advance if you might have some idea of a fix. Everything else is displaying correctly site wide

The email is received as:

注文確認書 from Lae - http://lae.xtr.jp

ラッセル ライアン���͡Ë

ご利用ありがとうございます。
ご注文内容は以下の通りです。

ご注文番号: 86
ご注文日: 2011年01月18日(Tue)
請求明細書:
http://lae.xtr.jp/index.php?main_page=account_history_info&order_id=86

商品

1 x CCパンツ (pa-001) = ¥3,990
サイズ L

小計: ¥3,990
店頭で受け取り (): ¥0
合計: ¥3,990

お届け先

removed address * it displays correctly

removed address * it displays correctly

Bank Transfer /銀行振替 Pay at the Store
/店の支払

Garbled Text
Just a guess, perhaps the php file is not encoded correctly or the database is not UTF-8. A lot of the orginal Japanese text from zen-cart Japan is not UTF-8 encoded. I downloaded TeraPad Japanese text editor and opened the Japanese php files then copied and pasted the file into Notepad++. Notepad has to be set to encode in UTF-8 without BOM. I then saved the Notepad file in the same folder then later renamed it to the correct file name. If the database is not set for utf8_general_ci then you will have to change tables and fields.