With apache2 on a debian system.

RjOllos schrieb am Mittwoch, 23. März 2022 um 20:34:58 UTC+1:

> On Wednesday, March 23, 2022 at 9:00:24 AM UTC-7 gau...@gmail.com wrote:
>
>> 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.
>>
>
> Are you running TracStandalone, or Trac w/ Apache, Nginx, etc...? 
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/16dcc1ea-75f9-4cdd-bd29-0c5304d61befn%40googlegroups.com.

Reply via email to