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

Request #12012 Add charset support for database
Submitted: 2007-09-09 13:51 UTC
From: afz Assigned: quipo
Status: Closed Package: MDB2 (version CVS)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


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 : 40 - 15 = ?

 
 [2007-09-09 13:51 UTC] afz (Ali Fazelzade)
Description: ------------ hi, it is necessary that MDB2 support set/change Database(not connection) charset. (also in mysql/pgsql/mssql,.. project). i reReport this bug, because can't edit my last thicket(Insufficient Privileges). thanks.

Comments

 [2007-09-10 08:13 UTC] quipo (Lorenzo Alberton)
Dupe of bug #11952. Doesn't the setCharset() method suit your needs?
 [2007-09-10 16:05 UTC] afz (Ali Fazelzade)
in MDB2 setCharset method only for set connection charset. i talk about Database/Table charset, and not connection.
 [2007-09-12 20:35 UTC] quipo (Lorenzo Alberton)
ah, sorry, I had misunderstood. You can already set the charset of the table fields (for the DBMS that support this feature), I'll have a look at table and database creation routines too.
 [2007-12-03 21:06 UTC] quipo (Lorenzo Alberton)
I've added charset/collation support to createDatabase() for the DBMS' that support this feature [1]. Usage: $options = array('charset' => 'XXX', 'collation' => 'YYY'); $db->manager->createDatabase($name, $options); You can also set charset/collation options for the table fields for the DBMS' that support this feature [1]. [1] http://www.alberton.info/dbms_charset_settings_explained.html