Find jobs - Deaf Topics - Anime Episodes - Expekt bonuses - Find jobs

PDA

View Full Version : Queries using multibyte languages...


digitalpoint
Mar 4th 2004, 7:08 pm
This is mostly just for informational purposes, but #26 in the Google API FAQ (http://www.google.com/apis/api_faq.html) says they are working on remedying the fact that the API does not return correct results for Chinese, Japanese and Korean keyword queries.

Well, it turns out it's a problem with the client-side, *not* Google's backend. I ended up writing my own SOAP client for the keyword tracker, and after much fiddling with it, I realized that it's just that Google's servers are very specific about how the character set is passed within the HTTP request header. Fixing that fixed the whole problem. Google should buy me a beer.

- Shawn

Foxy
Mar 9th 2004, 12:05 am
You might be lucky and get the Strawberry Icecream

nlopes
Mar 14th 2004, 4:10 am
Well, it turns out it's a problem with the client-side, *not* Google's backend. I ended up writing my own SOAP client for the keyword tracker, and after much fiddling with it, I realized that it's just that Google's servers are very specific about how the character set is passed within the HTTP request header. Fixing that fixed the whole problem. Google should buy me a beer.
- Shawn

In PHP 5 there is a new extension, SOAP, that will turn your job much easier!
read more at: http://www.php.net/soap

digitalpoint
Mar 14th 2004, 8:58 am
Yeah, I saw that... I'll do some testing with it when it comes out, although my SOAP client is already done, so it won't make it any easier at this point. :)

- Shawn

charless
Sep 26th 2005, 12:40 am
Hey Shawn..searched and didn't want to create a new thread so here I go bumping a year old post. Care to explain further on how you fixed or got around this? (Concept..don't have to go in details)