[imp] [ActiveSync] Non-ascii charters not shown correctly on iPhone
Per Josefsson
per at ddm.se
Wed Sep 12 17:08:51 UTC 2012
Dear all,
How comes non-ascii characters are not shown correctly on my iPhone?
Characters such as åäöÅÄÖ are correpted and shows as YEN, copyright
etc. symbols. When viewing the same mail in IMP characters are
correctly displayed as is the case when IMAPing the message with
Thunderbird (when the message are conveyed as UTF8 BASE64 MIME message
(TWVyIHRlY2tlbiDDhcOEw5bDpcOkw7Ygc27DqQ==)).
Strange enough non-ascii charters in message subject are correctly
represented on my iPhone.
Running HORDE 5 beta5 ActiveSync running as "Exchange 2007sp1" (EAD 12.1)
Using the BURP proxy the below was captured (note #'es represent
various binary data)
------------->8-------------------------
HTTP/1.1 200 OK
Date: Wed, 12 Sep 2012 15:51:30 GMT
Server: Apache/2.2.22 (Ubuntu)
X-Powered-By: PHP/5.3.10-1ubuntu3.2
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: default_horde_view=auto; expires=Fri, 12-Oct-2012 15:51:30
GMT; path=/; domain=192.168.1.11
MS-Server-ActiveSync: 12.1
Content-Length: 691
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: application/vnd.ms-sync.wbxml
##j#EN#1##\OK#{5050af62-c168-4799-9921-0f30c0a80103}9##R#INBOX##N#1##FJM#16158##N#1##]##V#per at ddm.se##X#per at ddm.se##T#Lite tecken åäöÃ
ÃÃ##O#2012-09-12T14:32:59.000Z##Q#Per Josefsson##U#1##S#IPM.Note##Y#per at ddm.se####V#1##JF#4##L#42##M#0##K#Content-Type: multipart/alternative;
boundary="=_Zc5KKtIbR6VQUK_DQFxg_iA"
This message is in MIME format.
--=_Zc5KKtIbR6VQUK_DQFxg_iA
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Mer tecken =C3=83=C2=85=C3=83=C2=84=C3=83=C2=96=C3=83=C2=A5=C3=83=C2=A4=C3=
=83=C2=B6 sn=C3=83=C2=A9
--=_Zc5KKtIbR6VQUK_DQFxg_iA--
#####z{#0##}#\flagged### `#Lite tecken
åäöÃ
ÃÃ#####|#urn:content-classes:message########
----------------->8-----------------------
The same device have another ActiveSync realtion to a MS server for
that those non-ascii characters are displayed correctly.
I tried to understand the ActiveSync protocol specification but
wherent able to tell if the data actually sent over the wire was
correctly encoded or not.
Any help apreciated.
/PerJ
More information about the imp
mailing list