I just recognized that despite which charset I may use for my DB connection to y MxSQL server, the tables are created with an other charset.
I.e. I used the parameter charset='utf8mb4' for binding the database object to my MySQL instance and then called generate_mapping(). Result is that the entities are created with 'latin1'.
To be honest, I do not know if that may be the wrong place or not. If so, please let me know or forward this to those people maintaining pymysql.
To add to this issue, it's worth noting that PonyORM doesn't seem to let you choose the character encoding for SQLite either. I'm not sure as to what the default is.
I just recognized that despite which charset I may use for my DB connection to y MxSQL server, the tables are created with an other charset.
I.e. I used the parameter
charset='utf8mb4'
for binding the database object to my MySQL instance and then calledgenerate_mapping()
. Result is that the entities are created with 'latin1'.To be honest, I do not know if that may be the wrong place or not. If so, please let me know or forward this to those people maintaining pymysql.
Thanks in advance, regards, Thomas