Emmanuel Blot wrote:
> Seems to work. Not really being familiar with Python, is this an appropriate 
edit without consequences?

Could it be related to http://trac.edgewall.org/ticket/4288 ?

Yes, this appears to be related.  Altering the MySQL database and
tables seems to have corrected the issues;

ALTER DATABASE trac_db DEFAULT CHARACTER SET utf8 COLLATE
utf8_general_ci;
ALTER TABLE attachment CONVERT TO CHARACTER SET utf8 COLLATE
utf8_general_ci;
... all 18 tables ...
ALTER TABLE wiki CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;

Should line 92 of mysql_backend.py be changed from;

sql.append(',\n'.join(coldefs) + '\n)')

to;

sql.append(',\n'.join(coldefs) + '\n) CHARACTER SET utf8 COLLATE
utf8_general_ci')

Thanks again,


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to