Changes between Initial Version and Version 1 of Ticket #13471, comment 3
- Timestamp:
- Mar 24, 2022, 5:01:38 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13471, comment 3
initial v1 2 2 3 3 After looking in the headers with curl, I saw that for our environment: 4 {{{ 4 5 Content-Type: image/svg+xml; charset=iso-8859-15 6 }}} 5 7 comes back, while from https://trac.edgewall.org/demo-1.4/raw-attachment/ticket/1050/test.svg 8 {{{ 6 9 Content-Type: image/svg+xml; charset=utf-8 10 }}} 7 11 comes back. 8 Then I searched all apache .confs - nowhere is set anything like AddDefaultCharset iso-8859-15 or AddCharset iso-8859-15 12 13 Then I searched all apache .confs - nowhere is set anything like `AddDefaultCharset iso-8859-15` or `AddCharset iso-8859-15` 9 14 and even adding 15 {{{ 10 16 AddCharset utf-8 .svg 11 in the approbiate apache-trac.conf didn't have any effect. 17 }}} 18 in the appropriate apache-trac.conf didn't have any effect. 19 12 20 Now I figured out, that there's a trac.ini setting: 21 {{{#!ini 13 22 [trac] 14 23 default_charset = iso-8859-15 … … 16 25 [trac] 17 26 default_charset = utf-8 27 }}} 18 28 19 29 With this all works well.