Re: Tired of MYSQL and Character Set Problems!
Posted by:
Steve Ross
Date: November 29, 2006 12:25PM
Let me add what I've tried that failed:
User enters data via an HTML TEXTAREA. They insist on copying from Microsoft Word and pasting, complete with the "smart quotes," ellipses, and dashes.
On table creation:
ENGINE=MyISAM; charset=utf8
In PHP:
SET NAMES utf8;
SET CHARACTER_SET utf8;
In generated HTML:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
The results:
Question marks on some browsers, lozenges (empty boxes) on others.
This is PHP5 served from Apache 2 on Fedora.
Any thoughts are appreciated.
Subject
Views
Written By
Posted
3012
November 19, 2006 09:31PM
2145
November 24, 2006 09:44PM
2072
November 27, 2006 09:14AM
2033
November 27, 2006 11:36AM
Re: Tired of MYSQL and Character Set Problems!
2192
November 29, 2006 12:25PM
2264
December 01, 2006 04:41AM
3611
December 20, 2006 05:17PM
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.