Edit report at http://bugs.php.net/bug.php?id=47802&edit=1
ID: 47802 Updated by: ka...@php.net Reported by: disbursement at dublin dot com Summary: PDO_MYSQL doesn't use the charset parameter -Status: Open +Status: Assigned Type: Feature/Change Request Package: MySQL related Operating System: all PHP Version: 5.2.9 -Assigned To: +Assigned To: kalle Block user comment: N Private report: N New Comment: Implemented in trunk for now Previous Comments: ------------------------------------------------------------------------ [2011-01-07 15:39:58] ka...@php.net Automatic comment from SVN on behalf of kalle Revision: http://svn.php.net/viewvc/?view=revision&revision=307224 Log: Implemented FR #47802, support for character sets in DSN strings for PDO_MYSQL ------------------------------------------------------------------------ [2009-03-27 08:53:58] disbursement at dublin dot com Description: ------------ static int pdo_mysql_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_DC) /* {{{ */ { ... struct pdo_data_src_parser vars[] = { { "charset", NULL, 0 }, { "dbname", "", 0 }, { "host", "localhost", 0 }, { "port", "3306", 0 }, { "unix_socket", PDO_MYSQL_UNIX_ADDR, 0 }, }; The option "charset"/vars[0] is never used, but would be a nice feature. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=47802&edit=1