>  * 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.

>  * 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.

About the hook script: the status of the files in the /contrib
directory is documented in the README file:
"Please note that these scripts are provided AS-IS are NOT tested to the same
extent as the main sources. They are usually maintained by the original
author, typically listed at the top of the source file."

>  * 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... replacing "invalid"
characters could lead to unexpected issues - think about messages with
are not written in latin charsets for example.

Cheers,
Manu

--~--~---------~--~----~------------~-------~--~----~
 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