Edgewall Software

Changes between Initial Version and Version 1 of Ticket #13471, comment 3


Ignore:
Timestamp:
Mar 24, 2022, 5:01:38 PM (2 years ago)
Author:
Ryan J Ollos

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13471, comment 3

    initial v1  
    22
    33After looking in the headers with curl, I saw that for our environment:
     4{{{
    45   Content-Type: image/svg+xml; charset=iso-8859-15
     6}}}
    57comes back, while from https://trac.edgewall.org/demo-1.4/raw-attachment/ticket/1050/test.svg
     8{{{
    69   Content-Type: image/svg+xml; charset=utf-8
     10}}}
    711comes back.
    8 Then I searched all apache .confs - nowhere is set anything like  AddDefaultCharset iso-8859-15 or AddCharset iso-8859-15
     12
     13Then I searched all apache .confs - nowhere is set anything like  `AddDefaultCharset iso-8859-15` or `AddCharset iso-8859-15`
    914and even adding
     15{{{
    1016   AddCharset utf-8 .svg
    11 in the approbiate apache-trac.conf didn't have any effect.
     17}}}
     18in the appropriate apache-trac.conf didn't have any effect.
     19
    1220Now I figured out, that there's a trac.ini setting:
     21{{{#!ini
    1322   [trac]
    1423   default_charset =  iso-8859-15
     
    1625   [trac]
    1726   default_charset = utf-8
     27}}}
    1828
    1929With this all works well.