You are here: Re: MySQL charset « PHP SQL « IT news, forums, messages
Re: MySQL charset

Posted by J.O. Aho on 12/20/05 10:21

ironcito wrote:

> I'm using PHP with MySQL. I have MySQL configured to use UTF-8 (Server
> Administrator shows utf8 as the charset for everything). I have set up
> Apache to send UTF-8 as the charset, and I've checked with Firefox that
> it is displaying my page in UTF-8. However, when I display the results
> of a query, non-ASCII characters appear incorrectly. I've included
> mysql_client_encoding in my page, and it reports the charset as
> "latin1_swedish_ci", but I've changed it to UTF-8 everywhere. What have
> I missed?

latin1_swedish_ci is iso-8859-1, you need to set utf8


//Aho

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация