It seems like my posts take forever to show up on this thread.
Anyway...

I added an XML declaration with UTF-8 encoding, and still got the same
problem.  Here's the XML (with some irrelevant info removed).  The
offending character is the "o" with a slash through it in
"Strandmollen".

<?xml version="1.0" encoding="UTF-8"?>
<entry xmlns="http://www.w3.org/2005/Atom"; xmlns:gd="http://
schemas.google.com/g/2005">
  <category scheme="http://schemas.google.com/g/2005#kind";
term="http://schemas.google.com/g/2005#event"; />
  <title type="text">Strandm�llen</title>
  <content type="html">If you make changes to this event,
PlanYourDive.com will no longer be able to sync it.&lt;/p&gt;</
content>
  <gd:transparency value="http://schemas.google.com/g/
2005#event.opaque" />
  <gd:eventStatus value="http://schemas.google.com/g/
2005#event.confirmed" />
  <gd:where valueString="Strandm�llen" />
  <gd:when startTime="2009-02-23T20:00:00.000Z"
endTime="2009-02-23T20:00:00.000Z" />
</entry>


On Feb 19, 2:02 pm, Ray Baxter <[email protected]> wrote:
> What character encoding are you specifying in the xml?
> Ray
>
> On Wed, Feb 18, 2009 at 6:01 PM, BlackToe
> <[email protected]>wrote:
>
>
>
> > I'm using the .NET XmlDocument to construct Google Calendar requests.
> > This has worked great for about 6 months, but recently some of the
> > content has contained European characters.  When I attempt to post
> > these requests to the Google API, it fails immediately with the
> > message "The request was aborted: The request was canceled."  If I
> > remove the European characters, the request is successful.
>
> > Is this a problem with XmlDocument or with the Google API?  Do I need
> > to escape these characters using System.Web.HttpUtility.HtmlEncode or
> > similar?
>
> > TIA

--~--~---------~--~----~------------~-------~--~----~
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