qemu-project git server not utf-8 clean?
Hi,
I was doing some housekeeping of the wiki links into the docs page and I discovered my name getting corrupted for:
https://git.qemu.org/?p=qemu.git;a=blob_plain;f=docs/devel/tcg-plugins.rst;hb=HEAD
Looking at the headers:
HTTP/1.1 200 OK
Date: Mon, 16 Dec 2019 16:24:50 GMT
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16
Content-disposition: inline; filename="docs/devel/tcg-plugins.rst"
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/plain; charset=ISO-8859-1
Shouldn't we (Apache/gitweb?) be passing UTF-8 contents?
Signature · 1 line
Alex Bennée
Quoted 19 lines · Alex Bennée
Hi,
I was doing some housekeeping of the wiki links into the docs page and I discovered my name getting corrupted for:
https://git.qemu.org/?p=qemu.git;a=blob_plain;f=docs/devel/tcg-plugins.rst;hb=HEAD
Looking at the headers:
HTTP/1.1 200 OK
Date: Mon, 16 Dec 2019 16:24:50 GMT
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16
Content-disposition: inline; filename="docs/devel/tcg-plugins.rst"
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/plain; charset=ISO-8859-1
Quoted 1 line
Shouldn't we (Apache/gitweb?) be passing UTF-8 contents?
Strange, apache is configured to use UTF-8 by default and the gitweb documentation indicates the web server default charset is used.
Anyway, it is fixed now. I forced gitweb's charset by changing /etc/gitweb.conf.
Stefan