ID:               41168
 Comment by:       ljbuesch at purdue dot edu
 Reported By:      roleroz at gmail dot com
 Status:           Open
 Bug Type:         Documentation problem
 Operating System: Gentoo Linux
 PHP Version:      Irrelevant
 New Comment:

>From the MySQL manual
(http://dev.mysql.com/doc/refman/5.0/en/charset-syntax.html):
---
By default, MySQL uses the latin1 (cp1252 West European) character set
and the latin1_swedish_ci collation that sorts according to
Swedish/Finnish rules. These defaults are suitable for the United States
and most of Western Europe.
---

Your system must be compiled to not use latin1, but it is in no way a
PHP documentation problem.


Previous Comments:
------------------------------------------------------------------------

[2007-04-23 03:12:47] roleroz at gmail dot com

Description:
------------
At the documentation it says that the default charset for mysql is
latin, but in my system that doesn't seem to be right.

After checking lots of posibilities, i set the mysql.connect_charset
variable, at php.ini, to latin1, and my code finally worked

It seems that the default charset for mysql functions in php 5.2.1
running over apache2 it's utf8



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=41168&edit=1

Reply via email to