Interesting...

I think the first step to check would be to go to the datasource url not
through a gadget but directly in the browser and examining the response.
Another way to examine the response would be to use firefox's firebug.
Once you see what the response is, perhaps you'll discover some python error
that is caused by the unicode and we can think of a solution from there.
You could post the link if you want.

Regards,
    VizBoy.

On Mon, Jan 19, 2009 at 11:30 PM, Chen Harel <[email protected]> wrote:

>
> Hi, I am parsing xml file using urlfetch in my appengine, I prepare a
> response dictionary and return it via ToJSonReponse function in
> gviz_api.
>
> The gadget client sends me the queries with get parameter for the
> parsing.
> Everything worked great, until one of the strings returned from the
> urlfetch had some weird signs (u'\u2013') which is only "-" ...
> Now I've tried manipulating the data and setting
> self.response.headers['Content-Type'] = 'text/plain; charset=utf-8'
> My playing got the response to be returned, when querying it via
> browser.
> But now it gives timeouts from within the gadget.
> (Every other query that doesn't have this character in the response,
> works great...)
>
> Any help would be great,
> Chen.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Visualization 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-visualization-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to