Changeset 4522 for trunk/manual

Show
Ignore:
Timestamp:
06/14/08 15:46:16 (7 months ago)
Author:
gnat
Message:

setCharset Documentation provided by irc user ivanst

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/manual/docs/en/basic-schema-mapping/table-options.txt

    r2289 r4522  
    3030</code> 
    3131 
     32It is worth noting that for certain databases (Firebird, MySql and PostgreSQL) setting the charset option might not be enough for Doctrine to return data properly. For those databases, users are advised to also use the setCharset function of the database connection: 
     33 
     34<code type="php"> 
     35Doctrine_Manager::connection($name)->setCharset("utf8"); 
     36</code> 
     37 
    3238Doctrine offers the ability to turn off foreign key constraints for specific Models. 
    3339