Page MenuHomePhabricator

Wrong charset on mailman HTML (Japanese)
Closed, DuplicatePublic


ML page in Japanese (e.g. wikija-l) shows Mojibake.

The HTML header says charset=euc-jp,
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: ja,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate, br
DNT: 1
Connection: keep-alive
Cookie: WMF-Last-Access-Global=30-Sep-2020; GeoIP=JP:13:Shinagawa:35.61:139.71:v4
Upgrade-Insecure-Requests: 1
GET: HTTP/1.1 200 OK
Date: Fri, 02 Oct 2020 01:36:17 GMT
Server: Apache
Cache-control: no-cache
Strict-Transport-Security: max-age=106384710; includeSubDomains; preload
Vary: Accept-Encoding
Content-Encoding: gzip
Backend-Timing: D=144633 t=1601602577279179
Content-Length: 3365
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=euc-jp

but it should be UTF-8.

Please change HTML header's Content-Type and/or specify charset on its HTML code with <meta> tag.