Changeset 4521

Show
Ignore:
Timestamp:
06/14/08 10:42:28 (21 months ago)
Author:
gnat
Message:

setCharset Documentation provided by irc user ivanst

Files:
1 modified

Legend:

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

    r4400 r4521  
    4949</code> 
    5050 
     51It 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: 
     52 
     53<code type="php"> 
     54Doctrine_Manager::connection($name)->setCharset("utf8"); 
     55</code> 
     56 
    5157Doctrine offers the ability to turn off foreign key constraints for specific Models. 
    5258