diff CHANGES.txt @ 6152:546763f4ce44

Make the charset configurable for mysql We now have an option to configure the mysql charset used when opening the database. The default is now utf8 for both, python2 and python3. No charset argument is passed if this is configured to 'default'. Previously we were passing 'utf8' for python3 and no charset option for python2 which made regression tests fail depending on the mysql configuration.
author Ralf Schlatterbeck <rsc@runtux.com>
date Fri, 01 May 2020 17:13:15 +0200
parents edbd4bba728a
children de9d602c8ce6
line wrap: on
line diff
--- a/CHANGES.txt	Fri May 01 16:34:35 2020 +0200
+++ b/CHANGES.txt	Fri May 01 17:13:15 2020 +0200
@@ -19,11 +19,6 @@
   Meerwald)
 - exception in logout action when there is no session (Christof
   Meerwald)
-- Supply charset argument for connection creation for mysql, even for
-  python2: The parameter was conditional on python version > 2 but seems to
-  work fine with python2.7. According to the MySQLdb API docs, the
-  charset argument is supported with MySQL 4.1 which was released in
-  2004. (Ralf Schlatterbeck)
 
 Features:
 
@@ -36,6 +31,13 @@
   Schlatterbeck)
 - Add a 'is_restore_ok' method similar to 'is_retire_ok' for use in
   templates.
+- Allow to configure the mysql charset when opening a connection to the
+  database. The parameter was conditional on python version > 2 but
+  seems to work fine with python2.7. According to the MySQLdb API docs,
+  the charset argument is supported with MySQL 4.1 which was released in
+  2004. There are some legacy reasons why one would want to not pass a
+  charset argument or pass an argument different from the default of
+  'utf8'. (Ralf Schlatterbeck)
 
 2020-04-05 2.0.0 beta 0
 

Roundup Issue Tracker: http://roundup-tracker.org/