You are here: Re: PHP, MySql and Encoding « PHP Programming Language « IT news, forums, messages
Re: PHP, MySql and Encoding

Posted by Peter van Schie on 10/23/04 11:53

Hi Carlone,

> With which encoding data is saved in the DB when data is generated by PHP?

Depends on the encoding of the database table or even the column.

> Does it depend to the charset of the php page? And if the string is
> inserted in a page by the user in a form and then inserted in the database?
>
> There is any setting of mysql, or any property of the db, of the table or
> of the field?

Yes, on all of those levels you mention actually. The lowest level is
column level.

To learn more about character sets in MySQL see:
http://dev.mysql.com/doc/refman/5.0/en/charset.html

HTH.
Peter.
--
http://www.phpforums.nl

 

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

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