Re: [PHP-DEV] mysql_set_charset

2008-08-26 Thread Alexey Zakhlestin
On Thu, Aug 7, 2008 at 6:29 PM, Hannes Magnusson [EMAIL PROTECTED] wrote: On Thu, Aug 7, 2008 at 16:17, Ulf Wendel [EMAIL PROTECTED] wrote: He explained to me that using SET NAMES is what is not recommended when using libmysql because: - there is no verification if the client knows the

Re: [PHP-DEV] mysql_set_charset

2008-08-07 Thread Ulf Wendel
Ulf Wendel schrieb: I don't recall why I added usage not recommended to the test. Let me check with Georg. He had some concerns on the function as far as I remember. I checked with Georg. My memories regarding Georg's position are totally wrong. He once introduced mysql_set_charset to the

Re: [PHP-DEV] mysql_set_charset

2008-08-07 Thread Hannes Magnusson
On Thu, Aug 7, 2008 at 16:17, Ulf Wendel [EMAIL PROTECTED] wrote: He explained to me that using SET NAMES is what is not recommended when using libmysql because: - there is no verification if the client knows the charset - the internal mysql-charset field will not be set properly Is this

Re: [PHP-DEV] mysql_set_charset

2008-08-07 Thread Scott MacVicar
Hannes Magnusson wrote: On Thu, Aug 7, 2008 at 16:17, Ulf Wendel [EMAIL PROTECTED] wrote: He explained to me that using SET NAMES is what is not recommended when using libmysql because: - there is no verification if the client knows the charset - the internal mysql-charset field will not be

Re: [PHP-DEV] mysql_set_charset

2008-08-07 Thread Lukas Kahwe Smith
On 07.08.2008, at 16:29, Hannes Magnusson wrote: On Thu, Aug 7, 2008 at 16:17, Ulf Wendel [EMAIL PROTECTED] wrote: He explained to me that using SET NAMES is what is not recommended when using libmysql because: - there is no verification if the client knows the charset - the internal

[PHP-DEV] mysql_set_charset

2008-08-06 Thread Stanislav Malyshev
Hi! I notice that mysql_set_charset function is not part of 5.3 tree and it's test is marked as usage not recommended. Could you explain what is the reason for that? It's quite unusual to drop functions in later versions, and if mysql_set_charset() has some problem we should note that in the

Re: [PHP-DEV] mysql_set_charset

2008-08-06 Thread Ulf Wendel
Stanislav Malyshev schrieb: I notice that mysql_set_charset function is not part of 5.3 tree and it's test is marked as usage not recommended. Could you explain what is the reason for that? It's quite unusual to drop functions in later versions, and if mysql_set_charset() has some problem we

Re: [PHP-DEV] mysql_set_charset

2008-08-06 Thread Ulf Wendel
Ulf Wendel schrieb: and its in HEAD. Andrey is working on re-introducing it to ext/mysql in the 5_3 branch. There it is http://news.php.net/php.cvs/52063 Ulf -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] mysql_set_charset

2008-08-06 Thread Stanislav Malyshev
Hi! There it is http://news.php.net/php.cvs/52063 Thanks! -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php