Forum Moderators: open

Message Too Old, No Replies

Google API and spanish characters

once again

         

dirson

7:11 pm on Nov 22, 2002 (gmt 0)

10+ Year Member



Hello.

I'm trying again to implement correctly Google API on my site, but I would like to allow 'eñes' and 'acute accents' (as in 'jamón' or 'salón').

But when I try it, I get strange characters: é , ó , ...

Does anybody have any experience with Google API? I've read the (short) manual, but I'm not able.

Thank you very much.

Tropical Island

8:04 pm on Nov 22, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Do NOT use them. We had a number of pages with an ñ (as in mysite.com/español.htm) and Google did not index them or give them PR. We changed them to /espanol.htm and they are now indexed and have PR.

Chico_Loco

1:23 pm on Nov 23, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Ha ha ha

This cracks me up .. Google will go to the extent of having international pages, doorways yada yada, yet their system seems to be unable to even support that country's language?

heini

1:36 pm on Nov 23, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Two different things get mixed up here: Fifle names on the internet generally have to be ASCII - no extended characters whatsoever. One of the main problems with international domain names, you can read some discussions on that in the Asian and the European forum.

The other thing is searches with extended characters - and yes, Google as any other major international engine supports usage of those.

Monus

7:18 pm on Nov 23, 2002 (gmt 0)

10+ Year Member



On this moment the API works with UTF-8.
So, its working with Spanish.

dario

1:54 pm on Nov 24, 2002 (gmt 0)

10+ Year Member



write using UTF8 and check if you have

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

surely you have the win enconding.

I fixes my problems with ñ, €, and acents with this.

Crush

2:07 pm on Nov 24, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



We have just done a site in French and I was thinking about the title...should it have the French characters or not? I have a few pages that are indexed with and some without. I do a search for each and get diffent results according to wether the site has the French characters or not. I asked some Czechs in my office in Prague and they said sometimes they search with czech characters and sometimes not.....

confusing

dario

4:11 pm on Nov 24, 2002 (gmt 0)

10+ Year Member



Crush we have pages in french, german, italian, danish, portuguese and japanese and I use special characters in titles because in fact, most of times "a" and "à" in searchs are the same vowel.
Thats what i think thats happend, maybe someone can report something else.
regards,
dario

dirson

8:17 pm on Nov 24, 2002 (gmt 0)

10+ Year Member



My piece of code (Perl):

-------------//-----------

print "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\"> \n";
...
my $service = SOAP::Lite
-> service('file:./GoogleSearch.wsdl');
my $result = $service
-> doGoogleSearch($key, $query, 0, 10, "false", "", "false", "", "", "");

--------------//-----------

And it does not work. Whay must I change?