Question:
Hi guys, I'm having some issues when getting an email without the charset specified in the content-type header. The charset is being predicted as "charset="iso-8859-1"" when, for this particular email (containing german characters), it should be utf-8.
This happens by using CkEamil::getMime() (I really need to use this method to later process)
-Is there a way to get the raw charset ? (the one without the predicted charset) -can we distingwish if it was predicted ?
Thx !
Without seeing actual data (the MIME) that causes the problem, it's impossible to know what can be done..
Ok, first of all thanks for answer
This is the original as I see it on GMail by "seeing original option". (No charset) The actual body text is some german characters: "äöü € ÄÖÜ German ñÑ Áé£æ"
Return-Path: <velocityseba@gmail.com>
Received: from VPUY-SGOMEZ.bellevue.velocitypartners.net (r201-217-135-132.ir-static.anteldata.net.uy. [201.217.135.132])
by smtp.gmail.com with ESMTPSA id n16sm591287vkd.2.2016.07.20.10.47.28
for <velocityseba@gmail.com>
(version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
Wed, 20 Jul 2016 10:47:28 -0700 (PDT)
Date: Wed, 20 Jul 2016 14:47:14 -0300
From: FrontRange Solutions Emplo <velocityseba@gmail.com>
Subject: ��� � ��� German �� ����
To: Batman <velocityseba@gmail.com>
Message-ID: <SjhVUVpLQSM+NVdXIFc8MTMxMjgwNTY4MQ@VPUY-SGOMEZ>
Mime-Version: 1.0
Organization: VP
X-Mailer: GoldMine [2013.1.0.210]
X-GM-LinkAccnt: 416C49836BA1B373699993A2416B71A93D656577B18493A2
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
��� � ��� German �� ����
And this is the Mime I get from chilkat (Charset predicted as iso-8859-1)
Return-Path: <velocityseba@gmail.com>
Received: from VPUY-SGOMEZ.bellevue.velocitypartners.net (r201-217-135-132.ir-static.anteldata.net.uy. [201.217.135.132]) by smtp.gmail.com with ESMTPSA id n16sm591287vkd.2.2016.07.20.10.47.28 for <velocityseba@gmail.com> (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
Wed, 20 Jul 2016 10:47:28 -0700 (PDT)
Date: Wed, 20 Jul 2016 14:47:14 -0300
From: FrontRange Solutions Emplo <velocityseba@gmail.com>
Subject: =?windows-1252?Q?=E4=F6=FC_=80_=C4=D6=DC_German_=F1=D1_=C1=E9=A3=E6?=
To: Batman <velocityseba@gmail.com>
Message-ID: <SjhVUVpLQSM+NVdXIFc8MTMxMjgwNTY4MQ@VPUY-SGOMEZ>
Mime-Version: 1.0
Organization: VP
X-Mailer: GoldMine [2013.1.0.210]
X-GM-LinkAccnt: 416C49836BA1B373699993A2416B71A93D656577B18493A2
Content-Transfer-Encoding: 8bit
ckx-imap-uid: 12044
ckx-imap-isUid: YES
ckx-imap-seen: NO
ckx-imap-answered: NO
ckx-imap-deleted: NO
ckx-imap-flagged: NO
ckx-imap-draft: NO
Content-Type: text/plain;
charset="iso-8859-1"
äöü € ÄÖÜ German ñÑ Ãé£æ