Re: MySQL in PHP5 - problem with charset
| From: | Dominik Fi�er | Date: | Sun, 11 Sep 2005 12:55:07 +0000 |
| Subject: | Re: MySQL in PHP5 - problem with charset | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-40249@lists.php.net to get a copy of this message | ||
I think yes. PHP default_charset = win-1250, mysql: def. char. set cp1250,
apahce 2: AddDefaultCharset WINDOWS-1250 (AddCharset WINDOWS-1250 .cp-1250
.win-1250)
With php4 with same configuration apache2 and mysql server is all OK.
""Bastien Koert"" <bastien_k@hotmail.com> pí¹e v diskusním pøíspìvku
news:BAY106-F1453508AFE0B2FC131956C9D9A0@phx.gbl...
>
> does your web server, php and db all use the same charset? they all should
> match
>
>>From: "Dominik Fi¹er" <doser@seznam.cz>
>>To: php-db@lists.php.net
>>Subject: [PHP-DB] MySQL in PHP5 - problem with charset
>>Date: Sun, 11 Sep 2005 14:35:44 +0200
>>
>>I have problem with MySQL in PHP 5.0.4 (WIN XP). I use charset cp1250
>>(win-1250, Czech) and PHP5 show results from db in incorect charset. When
>>i
>>use PHP 4, there is no problem! Configuration MySQL server is in both case
>>the same.
>>
>>--
>>PHP Database Mailing List (http://www.php.net/)
>>To unsubscribe, visit: http://www.php.net/unsub.php
>>