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

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.