WordPress.org

Making WordPress.org

Opened 3 years ago

Last modified 7 months ago

#1639 accepted defect

Themes Trac browser does not display UTF-8 text correctly

Reported by: SergeyBiryukov Owned by: dd32
Milestone: Q1 Priority: normal
Component: Trac Keywords: pending-systems
Cc:

Change History (10)

#1 @Otto42
3 years ago

Possibly the default_charset is set to the iso setting, or the mimeview component has a setting to correct for this for text/gettext files. Something in the trac.ini file, anyway.

#2 @samuelsidler
3 years ago

  • Priority changed from normal to high

This ticket was mentioned in Slack in #meta by jeffslofish. View the logs.


3 years ago

#4 @jeffSLOfish
3 years ago

I was able to reproduce this bug locally by changing the default_charset under the [trac] section in trac.ini to iso-8859-1. When I changed it back to utf-8, the characters displayed properly. So I think someone with access may just need to set

default_charset = utf-8

under the [trac] section of trac.ini for the Themes Trac.

#5 @SergeyBiryukov
3 years ago

Who has access to the Themes Trac config?

#6 @ocean90
3 years ago

  • Priority changed from high to normal

#7 @SergeyBiryukov
3 years ago

BuddyPress Trac appears to have the same issue. UTF-8 text in this patch is not displayed correctly:
https://buddypress.trac.wordpress.org/attachment/ticket/7275/7275.01.patch

#8 @dd32
7 months ago

  • Milestone set to Q1
  • Owner set to dd32
  • Status changed from new to accepted

A bunch of Trac's have default_charset = utf-8 and a bunch have default_charset = iso-8859-15.

Standardising on the former seems like a safe change, I'll request systems make the update.

Last edited 7 months ago by dd32 (previous) (diff)
Note: See TracTickets for help on using tickets.