Hi Matt

Thanks for the hint with the XML-Encode. I found out, that they were
discussing this topic here some time ago.
see:
http://groups.google.com/group/google-calendar-help-dataapi/browse_thread/thread/7fedfa2cefe517f/3022b413553cb5d7?lnk=gst&q=content+%26&rnum=10#3022b413553cb5d7

I changed my implementation to go with XML-Encoding:
      string content = appointment.Notes;
      content = content.Replace("\"", """);
      content = content.Replace("<", "&lt;");
      content = content.Replace(">", "&gt;");
      content = content.Replace("&", "&amp;");
      eventEntry.Content.Content = content;

It works perfect so far.

Cheers,
Adrian


On 23 Mai, 16:09, "Matt (GooSync)" <[EMAIL PROTECTED]> wrote:
> Yeah your right Adrian.
>
> What a bummer swapping one problem for another.
>
> I did find another way around it if you XML encode the "&" as "&amp"
> then it works using the regular text content type.
>
> I also found that we get the same problem with "<" although that can
> be replaced with "&lt" and that works, however the ">" works fine on
> its own.
>
> I'm not sure if I need to work around this for the moment or wait to
> see if Google have a simple fix for it their end.
>
> Mattwww.GooSync.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" group.
To post to this group, send email to 
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to