MySQL Forums :: Character Sets, Collation, Unicode :: Using accentuation or other special characters and printing with php.


Advanced Search

Using accentuation or other special characters and printing with php.
Posted by: Henio Sampaio ()
Date: March 17, 2009 07:41AM

Hi there, dudes!

So, I'm a portuguese speaker. As you probably know, in portuguese there are many special characters like 'â', 'ã', 'á', 'ç', etc...
My question is: How should I implement my php code to print all these special charecters properly?

I've set the database Connection Collation to UTF8_general_ci as well as the proper table. In my php code, while trying to properly print the string, I used the function utf8_decode(). But, instead of the proper special characters, all I get are strange simbols: boxes in Internet Explorer and '?'s in Firefox.

Can you enlighten me, please?

Thank you in advance.



Edited 1 time(s). Last edit at 03/17/2009 11:46AM by Henio Sampaio.

Options: ReplyQuote


Subject Views Written By Posted
Using accentuation or other special characters and printing with php. 8347 Henio Sampaio 03/17/2009 07:41AM
Re: Using accentuation or other special characters and printing with php. 3870 Rick James 03/18/2009 01:14AM
Re: Using accentuation or other special characters and printing with php. 3802 Henio Sampaio 03/24/2009 07:30AM
Re: Using accentuation or other special characters and printing with php. 3672 Rick James 03/24/2009 08:15PM
Re: Using accentuation or other special characters and printing with php. 3389 Henio Sampaio 03/25/2009 08:38AM
Re: Using accentuation or other special characters and printing with php. 3602 Rick James 03/25/2009 06:20PM
Re: Using accentuation or other special characters and printing with php. 2965 Henio Sampaio 03/26/2009 08:05AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.