2006/11/5, Emmanuel Blot <[EMAIL PROTECTED]>: > > > * Is there a way to repair the ticket? > > You'll need some SQL commands to extract and replace the text, but > yes, the ticket can be fixed.
I hoped it would be possible without touching the bits. I managed to delete the bad ticket comment using SQL. > > * Can trac or at least the trac-post-commit-hook be fixed or enhanced > > to convert the commit message to unicode or at least keep the invalid > > characters away from trac? > > Unicode support in Trac has been greatly improved w/ release 0.10. What text encoding does Trac 0.9 "ticket.save_changes" function expect? UTF8 or some local code page? >> * Unicode conversion errors should not raise trac exceptions, they >> should be handled more gracefully (like just replacing invalid >> characters). > IMHO it's a good idea to silently ignore errors... In addition trac should not let invalid characters into the database. I don't know if Trac 0.10 already contains checks like that, so just take this as a suggestion. It would make trac more robust against ill-behaved plugins or addons. Norbert --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
