The url returned from the RESTful side of the API is encoded UTF8. You need to 
search and replace the \uXXXX patterns with the appropriate characters.

Jeremy R. Geerdes
Effective website design & development
Des Moines, IA

For more information or a project quote:
http://jgeerdes.home.mchsi.com
[email protected]

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!

On May 4, 2010, at 12:47 PM, robert_d wrote:

> When I send the following query
> 
> http://ajax.googleapis.com/ajax/services/search/local?v=1.0&q=coffee%20New%20York%20NY
> using c# WebClient.DownloadString function or ordinary web browser I
> get JSON data which is different from data for the same query using
> JavaScript and Google AJAX Search API.
> 
> From REST service I get the following url field
> http://www.google.com/maps/place?source003duds0026q003dcoffee0026cid003d13245583795745066822
> 
> but from JavaScript query I get this url field
> http://www.google.com/maps/place?source=uds&q=coffee&cid=13245583795745066822
> 
> The problem with REST service answer is that the url it gives points
> to a web page with error message "We currently do not support the
> location".
> 
> What am I doing wrong?
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google AJAX APIs" 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-ajax-search-api?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" 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-ajax-search-api?hl=en.

Reply via email to