Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.0b4

Request #13657 Driver should use mysql_set_charset() if availible
Submitted: 2008-04-12 22:52 UTC
From: cwiedmann Assigned: quipo
Status: Closed Package: MDB2_Driver_mysql (version CVS)
PHP Version: 5.2.5 OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 14 - 1 = ?

 
 [2008-04-12 22:52 UTC] cwiedmann (Carsten Wiedmann)
Description: ------------ Hello, since PHP 5.2.3 knows the function mysql_set_charset(). This function should be used if availible. Reason: mysql_set_charset() is used in mysql_real_escape_string(), "SET NAMES" not. Regards, Carsten

Comments

 [2008-04-19 16:55 UTC] quipo (Lorenzo Alberton)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.