Luis Alejandro Cazzola
2005-Sep-16 14:12 UTC
[CentOS] php and mysql ok but display ? instead of a vowel with accent
php and mysql ok but display the character ? instead of a vowel with accent, i dont know why, i think that mybe can be the configuration of de php.ini, but why? if somebody can helpme, i will be very thankful. bye -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20050916/bc4a579b/attachment.html>
Ignacio Vazquez-Abrams
2005-Sep-16 14:24 UTC
[CentOS] php and mysql ok but display ? instead of a vowel with accent
On Fri, 2005-09-16 at 11:12 -0300, Luis Alejandro Cazzola wrote:> php and mysql ok but display the character ? instead of a vowel with > accent, i dont know why, i think that mybe can be the configuration of > de php.ini, but why? > > if somebody can helpme, i will be very thankful.Sounds like the character set in the database, the code, and the output HTML don't all match. Personally I recommend making them all UTF-8, but it's your call. http://dev.mysql.com/doc/mysql/en/charset.html http://www.w3.org/TR/html4/charset.html http://www.php.net/manual/en/ref.iconv.php -- Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> http://centos.ivazquez.net/ gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20050916/ecbf488d/attachment.sig>
William J.A. Brillinger
2005-Sep-16 14:26 UTC
[CentOS] php and mysql ok but display ? instead of a vowel with accent
At 09:12 AM 16/09/2005, you wrote:>php and mysql ok but display the character ? instead of a vowel with >accent, i dont know why, i think that mybe can be the configuration of de >php.ini, but why? > >if somebody can helpme, i will be very thankful. > >byepico /etc/httpd/conf/httpd.conf FIND: AddDefaultCharset UTF-8 CHANGE TO: AddDefaultCharset iso-8859-1 /etc/init.d/httpd restart - Bill --------------------------------- William J.A. Brillinger Precision Design Co. E-Mail: mailto:billy at pdcweb.net Web site: http://www.pdcweb.net