Hi Keith,

Thank you very much,
It works.
Best regards,
Serge


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of KeithB
Sent: Thursday, February 18, 2010 4:00 PM
To: Google Chart API
Subject: Re: French characters in legend and labels

Serge,

Take a look at the Text Strings section of the documentation here:
http://code.google.com/apis/chart/docs/gallery/dynamic_icons.html#encoding

"All display text passed to the Chart API must be UTF-8 encoded and
then URL-encoded. This affects only non-URL-safe characters (URL-safe
characters are mostly the English letters a-z both upper and lower
case, plus plus a small set of punctuation). For example, the UTF-8
and URL-encoded value for the letter "è" is "%C3%A8", and for the
Chinese character 駅 is "%E9%A7%85". Most browsers will let you use an
unencoded value in the URL string (for example, 駅) and will encode it
for you behind the scenes. However, it is possible that someone
viewing your chart URL is using a browser that doesn't do this, so it
is usually best to UTF-8 and URL-encode all non-ASCII characters in
text strings."

Here's a UTF-8 character table I normally use: http://www.utf8-chartable.de/

Cheers,
Keith

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



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

Reply via email to