I learned, that it is not a bug ( https://trac.edgewall.org/ticket/13471 ),
so I hope someone can help us with the server configuration?
If I upload an svg file in UTF-8 encoding as an ticket attachment,
containing Umlaute like ä, ö, ü, it diplays wrong characters for the
umlaute.
Inside the ticket comment referencing the image, as well as on the
attachment itself.
It seems not to be a problem of uploading, since on the server inside
/env/files/attachments/ticket the svg is correctly, bitwise identical as I
have uploaded it.
It is also not a question of my browser: If I open my original svg in
Firefox, it displays correctly, if I open the one that trac delivers,
either inside the ticket comment using the image, or directly under the
raw-attachment/-URL or on the preview page under /attachment/ticket-URL, it
fails. If I convert the svg from UTF-8 to ANSI and upload it, it works
well. I already added svg to the trac.ini:
[mimeviewer]
mime_map =
text/x-dylan:dylan,text/x-idl:ice,text/x-ada:ads:adb,image/svg+xml:svg
mime_map_patterns =
text/plain:README(?!\.rst)|INSTALL(?!\.rst)|COPYING.*,image/svg+xml:.*svg
Thank You very much.
--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/abf085d7-045d-42f1-82d2-38b55a9b95efn%40googlegroups.com.
so I hope someone can help us with the server configuration?
If I upload an svg file in UTF-8 encoding as an ticket attachment,
containing Umlaute like ä, ö, ü, it diplays wrong characters for the
umlaute.
Inside the ticket comment referencing the image, as well as on the
attachment itself.
It seems not to be a problem of uploading, since on the server inside
/env/files/attachments/ticket the svg is correctly, bitwise identical as I
have uploaded it.
It is also not a question of my browser: If I open my original svg in
Firefox, it displays correctly, if I open the one that trac delivers,
either inside the ticket comment using the image, or directly under the
raw-attachment/-URL or on the preview page under /attachment/ticket-URL, it
fails. If I convert the svg from UTF-8 to ANSI and upload it, it works
well. I already added svg to the trac.ini:
[mimeviewer]
mime_map =
text/x-dylan:dylan,text/x-idl:ice,text/x-ada:ads:adb,image/svg+xml:svg
mime_map_patterns =
text/plain:README(?!\.rst)|INSTALL(?!\.rst)|COPYING.*,image/svg+xml:.*svg
Thank You very much.
--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/abf085d7-045d-42f1-82d2-38b55a9b95efn%40googlegroups.com.