Opened 9 years ago

Closed 8 years ago

#1561 closed task (fixed)

Fix rendering of utf8 characters in trac source browser

Reported by: strk Owned by: sac@…
Priority: normal Milestone:
Component: SysAdmin Keywords: utf8, i18n
Cc:

Description

The UTF8 chars in this page are not shown correctly: https://trac.osgeo.org/postgis/browser/trunk/authors.git

Compare to the rendering from the gitlab mirror: https://gitlab.com/postgis/postgis/blob/svn-trunk/authors.git

The UTF8 encoding in the file is correct, see https://trac.osgeo.org/postgis/ticket/3333#comment:2

I've checked HTTP headers and META html tag of the page and both also advertise an utf8 content, so I dunno where the encoding gets ruined.

Change History (3)

comment:1 by strk, 8 years ago

Found: all our trac instances have a default_charset = iso-8859-15 I suggest we drop the local setting and use default_charset = utf-8 globally. I've done this for PostGIS, and see how things look fine now: https://trac.osgeo.org/postgis/browser/trunk/authors.git

Agreed to change all instances ?

comment:2 by strk, 8 years ago

Well, I've done it globally, and am closing this. Someone will scream out loud if it ends up breaking something. It's time to use UTF8 everywhere!

comment:3 by strk, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.