I am having a problem decoding the URL parameters for my exchange active sync. According to the documentation the URL parameters are either plain text or encoded with base 64. When I look at the Microsoft example
POST /Microsoft-Server-ActiveSync?jAAJBAp2MTQwRGV2aWNlAApTbWFydFBob25l HTTP/1.1
Content-Type: application/vnd.ms-sync.wbxml
User-Agent: ASOM
Host: Contoso.com
Content-Length: 866
and i decode the URL parametersjAAJBAp2MTQwRGV2aWNlAApTbWFydFBob25l I get v140Device SmartPhone
But in my system when i connect using either a windows phone or Windows Mail client I get the following
POST /Microsoft-Server-ActiveSync?jQMJCBBgMOo4NRIhymNelU6Z7jHTBDzZUJwLV2luZG93c01haWwHAQE= HTTP/1.1
Content-Type: application/vnd.ms-sync
User-Agent: WindowsMail/17.4.9600.16384
Host: *************
Content-Length: 4893
When I decode the URL parametersjQMJCBBgMOo4NRIhymNelU6Z7jHTBDzZUJwLV2luZG93c01haWwHAQE= i get `0ê85!Êc^•N™î1Ó<ÙPœ WindowsMail
The example I took from the documentation found here https://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&ved=0CDgQFjAB&url=http%3A%2F%2Fdownload.microsoft.com%2Fdownload%2F5%2FD%2FD%2F5DD33FDF-91F5-496D-9884-0A0B0EE698BB%2F%5BMS-ASHTTP%5D.pdf&ei=_0HMUr_lOYe27QbyhYAg&usg=AFQjCNEPrHG-eKRggHHzwdGMYEwq40DI3A&sig2=cfu2LP2tjaJAjgimY_lQ7w&bvm=bv.58187178,d.ZGU
I can't figure out why. Is there some sort of different encoding for windows 8 and windows 8 phone?
Any help is appreciated as this is driving me mad.