[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Translating packages.d.o



Frank Lichtenheld <djpig@debian.org> writes:
> On Sat, Oct 13, 2007 at 10:29:57AM +0300, Tommi Vainikainen wrote:
>> First, there is charset problems. If you open http://p.d.o/sid/, it
>> contains something like this:
>> 
>> <meta http-equiv="Content-Type" content="text/html;charset=fi_FI.UTF-8">
>> 
>> Obviously this charset=XXX is wrong. It should contain only charset, not
>> locale. This matters in Finnish because, it gives that as UTF-8, and the
>> page is in UTF-8 charset, but in HTTP headers it gives ISO-8859-1 as
>> charset, and user sees UTF-8 garbage. However if you for some reason
>> select link "suomi" (Finnish) from the bottom, it loads URL with
>> "?lang=fi", and that page is correct, because HTTP header then contains
>> UTF-8 as charset.
>
> Ok, will look into that bug.

It seems that the bug applies to Dutch and Finnish. The common factor
seems to be that conf/apache.conf(.sed.in) contains AddCharset
ISO-8859-1 for those languages. Also if HTTP Content-Type header is
correct, then HTML meta tag is redundant, and may be removed.

-- 
Tommi Vainikainen



Reply to: