qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* qemu-project git server not utf-8 clean?
@ 2019-12-16 16:29 Alex Bennée
  2019-12-17 10:35 ` Stefan Hajnoczi
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Bennée @ 2019-12-16 16:29 UTC (permalink / raw)
  To: jeff, Stefan Hajnoczi; +Cc: qemu-devel


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?

-- 
Alex Bennée


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: qemu-project git server not utf-8 clean?
  2019-12-16 16:29 qemu-project git server not utf-8 clean? Alex Bennée
@ 2019-12-17 10:35 ` Stefan Hajnoczi
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Hajnoczi @ 2019-12-17 10:35 UTC (permalink / raw)
  To: Alex Bennée; +Cc: jeff, qemu-devel

[-- Attachment #1: Type: text/plain, Size: 968 bytes --]

On Mon, Dec 16, 2019 at 04:29:46PM +0000, Alex Bennée wrote:
> 
> 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?

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-17 10:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-16 16:29 qemu-project git server not utf-8 clean? Alex Bennée
2019-12-17 10:35 ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).