dlukowski
  • dlukowski
  • 51.5% (Neutral)
  • Newbie Topic Starter
7 years ago
I have an email that has a character set of ISO-2022-KR.


Mail oMail = new Mail("TryIt");
oMail.Load(@"c:\temp\korean.eml", false);
Console.Write(message.HtmlBody);





MIME-Version: 1.0
Subject: Korean
To: Skip_Jones/acme%na
Message-ID:
From: Maarko_Rajamma/acme
Date: Tue, 28 Mar 2017 06:44:40 -0700
Content-type: text/html;
charset=ISO-2022-KR
Content-Disposition: inline

우리는 당신에게 메리 크리스마스, 해피 뉴 위시





We wish you a merry christmas and a happy new year



When I use eagetmail v4.6.5.7 to Load the message the HTMLBody is not displayed correctly.



????????? ???????????? ?????? ???????????????, ?????? ??? ??????





We wish you a merry christmas and a happy new year

v



If I edit the .eml file content-type"...

MIME-Version: 1.0
Subject: Korean
To: Skip_Jones/acme%na
Message-ID:
From: Maarko_Rajamma/acme
Date: Tue, 28 Mar 2017 06:44:40 -0700
Content-type: text/html;
charset=UTF-8
Content-Disposition: inline

우리는 당신에게 메리 크리스마스, 해피 뉴 위시





We wish you a merry christmas and a happy new year



Then everything displays as it should.


우리는 당신에게 메리 크리스마스, 해피 뉴 위시





We wish you a merry christmas and a happy new year

v



How can I get EAGetMail to force UTF-8? Or, is there something I'm missing that would allow this to parse properly?
dlukowski
  • dlukowski
  • 51.5% (Neutral)
  • Newbie Topic Starter
7 years ago
I've been in contact with Ivan from the EAGetMail team. The messages were improperly encoded. There is no way to know if the message is being rendered properly as they are just bits mapped to a character overlay based on the stated content type.

Garbage In, Garbage Out.

EXPLORE TUTORIALS

© All Rights Reserved, AIFEI Software Limited & AdminSystem Software Limited.