none
Can't read Unicode Email addresses in contacts (EWS) RRS feed

  • Question

  • Hello,

    I'm trying to read back contacts that have Unicode characters in them.  All the fields are fine except for the email addresses, they are returned as empty.

    e.g.

    The XML response has

    - <EmailAddresses>
      <Entry Key="EmailAddress1" />
      <Entry Key="EmailAddress2" />
      <Entry Key="EmailAddress3" />
      </EmailAddresses>
    So, it basically says that the fields are set but returns nothing for the values.
    If i have only one of the email addresses that contains unicode characters i get the following:
    - <EmailAddresses>
      <Entry Key="EmailAddress1" />
      <Entry Key="EmailAddress2">tset2@rim.com</Entry>
      <Entry Key="EmailAddress3">test3@rim.com</Entry>
      </EmailAddresses>
    So EmailAddress1 is return as empty but it actually has a Unicode value when viewed from OWA etc.
    Here is the request I am sending, i made it as simple as possible
    <?xml version="1.0" encoding="utf-8"?>
    
    
    
    <GetItemType xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    
    
    
     <ItemShape xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
    
    
    
     <BaseShape xmlns="http://schemas.microsoft.com/exchange/services/2006/types">AllProperties</BaseShape>
    
    
    
     </ItemShape>
    
    
    
     <ItemIds xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
    
    
    
     <ItemId Id="AAMkAGNiZGIxODAwLTUxMWEtNDI4MS04MDVmLWIyNjhjZmI4MGZlMwBGAAAAAAD1YW3LBdAMSKe58NVYuCA5BwCm+x0lEISBQaqwzTaBcHt6AAAAmgItAACm+x0lEISBQaqwzTaBcHt6AAABPkALAAA=" ChangeKey="EQAAABYAAACm+x0lEISBQaqwzTaBcHt6AAABPmNi" xmlns="http://schemas.microsoft.com/exchange/services/2006/types" />
    
    
    
     <ItemId Id="AAMkAGNiZGIxODAwLTUxMWEtNDI4MS04MDVmLWIyNjhjZmI4MGZlMwBGAAAAAAD1YW3LBdAMSKe58NVYuCA5BwCm+x0lEISBQaqwzTaBcHt6AAAAmgItAACm+x0lEISBQaqwzTaBcHt6AAABPkAKAAA=" ChangeKey="EQAAABYAAACm+x0lEISBQaqwzTaBcHt6AAABPlro" xmlns="http://schemas.microsoft.com/exchange/services/2006/types" />
    
    
    
     </ItemIds>
    
    
    
    </GetItemType>
    
    
    
    
    Is there a different way to read back contacts or another setting I need to use?
    This is the value I am using for the email address Ǻ@rim.com  I have tried other unicode values but none seem to work
    thanks
    -Tim
    Monday, January 31, 2011 8:25 PM