Author Topic: Bug on processing Mail header charsets  (Read 2535 times)

Offline jshan

  • Newbie
  • *
  • Posts: 3
Bug on processing Mail header charsets
« on: April 21, 2008, 11:28:03 PM »
Hi there.

Some of Mails that i received have no-encoded string as "Subject:" and "From:" fields.
these fields written by Korean are broken.

<<=========== raw mail source start
Return-Path:
Received: from white.webtizen.co.kr (white.webtizen.co.kr [219.254.33.17])
   by ns1.testtest.com (8.13.7/8.13.7) with ESMTP id m1RCQuck027004
   for ; Wed, 27 Feb 2008 21:27:18 +0900
Received: from Manager ([219.254.33.1])
   by white.webtizen.co.kr (8.12.8/8.12.8) with SMTP id m1RCb1JT007015
   for ; Wed, 27 Feb 2008 21:37:02 +0900
Message-Id: <200802271237.m1RCb1JT007015@white.webtizen.co.kr>
Reply-To: no-reply@dotname.co.kr
From: (주)닷네임코리아
To: biz@testtest.com
Subject: [안내] 퀵돔 연장/등록/이전시 무료호스팅 1G + 3000원 쿠폰드립니다.
Date: Wed, 27 Feb 2008 21:26:48 +0900
X-DBMail-PhysMessage-ID: 619548
MIME-Version: 1.0
Content-Type: text/html; charset=euc-kr




퀵돔 이벤트 메일
<<========= raw mail source end

Red color parts are the things i mentioned.

At this points, i had to this,
program/include/main.inc 960
added =>    'ISO-8859-1'  => 'EUC-KR',

then, i see no broken Korean.

Any idea ?

Offline cityhunter

  • Jr. Member
  • **
  • Posts: 15
Bug on processing Mail header charsets
« Reply #1 on: February 20, 2009, 10:30:02 PM »
the same problem in BIG5 or GB2312 code..any one help ?