[CentOS] php and mysql ok but display ? instead of a vowel with accent

Ignacio Vazquez-Abrams ivazquez at ivazquez.net
Fri Sep 16 14:24:08 UTC 2005


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: not available
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.bin


More information about the CentOS mailing list