Mailing List Archive

[The Trac Project] #3857: Encoding problem with mysql
#3857: Encoding problem with mysql
------------------------------------+---------------------------------------
Reporter: sven.reimers@gmail.com | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone:
Component: general | Version: devel
Severity: normal | Keywords:
------------------------------------+---------------------------------------
The init of the environment fails with

UnicodeEncodeError: 'latin-1' codec can't encode character u'\u201c' in
position 0: ordinal not in range(256)

This is caused by chars not in latin-1 encoding but in default-wiki pages.
I could find that the chars causing problems are:

“”

I can not write any wiki page containg those chars as well, since the
submission fails with the same error as above.

Seems there is somehow a problem with correct conversion.

Configuration MySQL 5.0, UTF8 , Python 2.4

--
Ticket URL: <http://trac.edgewall.org/ticket/3857>
The Trac Project <http://trac.edgewall.org/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Tickets" group.
To post to this group, send email to trac-tickets@googlegroups.com
To unsubscribe from this group, send email to trac-tickets-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.se/group/trac-tickets
-~----------~----~----~----~------~----~------~--~---