In trac (very recent 0.12multirepos), when I browse C source that
contains Swedish characters (in comments), I get this at the top of the
page:

Warning: HTML preview using EnscriptRenderer failed (UnicodeDecodeError:
'utf8' codec can't decode bytes in position 4656-4657: invalid data)

and the Swedish characters are shown as incorrect characters. If
4656-4657 refer to byte offsets in the file, then I am confused, as
these are regular old printable ASCII characters (checked with ghex2
editor).

The files in question claim (Unix 'file command) to be:

        9_mc.c: UTF-8 Unicode C program text

Am I perhaps missing some configuration setting?



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