5 messages in com.googlegroups.google-calendar-help-dataapiRe: Search with international characters| From | Sent On | Attachments |
|---|---|---|
| Paco | 27 Mar 2008 05:26 | |
| Austin (Google) | 28 Mar 2008 16:18 | |
| Paco | 30 Mar 2008 09:07 | |
| Austin (Google) | 31 Mar 2008 09:57 | |
| Paco | 31 Mar 2008 23:00 |
| Subject: | Re: Search with international characters![]() |
|---|---|
| From: | Austin (Google) (api....@google.com) |
| Date: | 03/28/2008 04:18:05 PM |
| List: | com.googlegroups.google-calendar-help-dataapi |
Hi Paco,
I think this because the q query parameter is not url encoded. Use this website
http://www.albionresearch.com/misc/urlencode.php
to perform url encoding on Mañana, you will get Ma%C3%B1ana
and use this as the query parameter for your feed -
http://www.google.com/calendar/feeds/default/private/full?q=Ma%C3%B1ana
This should solve your problem
Hope it helps, Austin
On Thu, Mar 27, 2008 at 5:26 AM, Paco <fmar...@gmail.com> wrote:
I have been using a Visual Basic application to Add Google Calendar events. I am able to add, search and delete those events.
The problem arise when I use international characters (like spanish ñ character UTF-8 code decimal 195.177).
When I try to add an event with title "Mañana" I provide the XML entry with UTF-8 codification for the title, so the string "Mañana" is used. The event is added and I saw "Mañana" as event in Google Calendar instead of "Mañana".
Once the event is added I receive and XML response with the entry just added and the string "Mañana" is received. The same string is recived if I ask for the whole events in my own calendar.
Now I want to search for the event just added, so I use
http://www.google.com/calendar/feeds/fmartinezbello%40gmail.com/private/full?q=Mañana
Status was 200 and response return 0 search results. The same when I used "Content-Type", "text/html; charset='utf-8'" in the request header. Also the same results when I used
http://www.google.com/calendar/feeds/fmartinezbello%40gmail.com/private/full?q=Mañana
Any help or idea?
I have already read the thread http://groups.google.com/group/google-calendar-help-dataapi/browse_thread/thread/7fedfa2cefe517f/8e319e27763c0a95?lnk=gst&q=search#8e319e27763c0a95
Thanks Paco




