Hi,

On Sun, 22 Feb 2015, Christophe Siraut wrote:
> > while displaying changelog from the web interface I see that many
> > characters are not shown correctly because they have a different charset
> > than browser default.
> > 
> > Could you please specify the (utf8) charset in the HTTP response or
> > elsewhere?
> 
> These files are served by apache, it appears the following line was
> commented in the vhost host declaration:
> 
>   #AddDefaultChars utf-8
> 
> Problem might be text/html pages already have that header set by django,
> we only want to apply the directive to plain text files. Should we
> enclose that directive in a <Directory /path/to/media> section?

Yes. I just did that:
$ HEAD 
https://tracker.debian.org/media/packages/0/0ad-data/changelog-0.0.16-1|grep 
Content-Type
Content-Type: text/plain; charset=utf-8

Shall we also possibly also consider using a .txt extension for all the
text files that we are extracting?

That would make it more future-proof. At some point, the files we are
extracting in media might also contain non-textual files...

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/


-- 
To UNSUBSCRIBE, email to debian-qa-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150223130742.ga1...@home.ouaza.com

Reply via email to