Re: Using accentuation or other special characters and printing with php.
Posted by: Rick James
Date: March 18, 2009 01:14AM

At the beginning of the php:
heading("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />");

Right after connecting to mysql:
SET NAMES utf8;

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.