revno: 170
committer: Geert Vanderkelen <email address hidden>
branch nick: myconnpy-CHARSET
timestamp: Tue 2009-12-22 09:37:10 +0100
message:
Fix setting character set at connection
* mysql.connector.Connect(charset='latin1') now works as expected
* Default character set is (still) UTF-8.
* SET NAMES is only used when changing character set after connecting.
Use MySQL.set_charset(charsetname) to change.
* Test case added for bug report; fixing test case in test_protocol.py
to reflect the new default character set 'utf-8'.
revno: 170
committer: Geert Vanderkelen <email address hidden>
branch nick: myconnpy-CHARSET
timestamp: Tue 2009-12-22 09:37:10 +0100
message:
Fix setting character set at connection
* mysql.connector .Connect( charset= 'latin1' ) now works as expected charset( charsetname) to change.
* Default character set is (still) UTF-8.
* SET NAMES is only used when changing character set after connecting.
Use MySQL.set_
* Test case added for bug report; fixing test case in test_protocol.py
to reflect the new default character set 'utf-8'.