PDA

View Full Version : Speech Bubbles Tooltip - Charset



felzzz
08-26-2011, 01:39 AM
1) Script Title: Speech Bubbles Tooltip

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex5/speechbubblestooltip.htm

3) Describe problem: I'm from Brazil and I need to use accentuation on my tooltips but I get a (?) on the place of the accents, check the image please.

http://s3.postimage.org/1p7k5netg/acentos.jpg

Thanks for your help..

jscheuer1
08-26-2011, 02:49 AM
That's an encoding problem. I'm not sure of the best way to resolve it. You could abandon the external file and use the title option instead, as long as when those characters appear on the page itself they appear correctly, that should work.

Or, if you have PHP or another server side language, you might be able to make the external file send a header (content-type/charset header) while being fetched that makes it be encoded properly. A .htaccess file might be able to be used for the same purpose.

There's also the possibility that if you made the external file an html or htm file and put the required meta content-type/charset tag on it, that might work.

Of all these methods, the first (using the title method) is probably the most foolproof.

felzzz
08-26-2011, 03:18 PM
The title option worked, thanks for your help.