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

Re: Invalid sequences in https://www.debian.org/doc/debian-policy/policy.txt





Le sam. 12 avr. 2025 à 13:27, Bill Allombert <ballombe@debian.org> a écrit :
On Fri, Apr 11, 2025 at 07:21:47PM -0700, pF arQon wrote:
> I can't infer the cause from the end result, but the supposed-plain-text
> document has numerous instances of Apple Quotes in it, which obviously
> aren't valid in either ASCII or any other non-MBCS encoding. This includes
> many forms of [x]term, and even things like Firefox on Debian itself *in a
> UTF8 locale*, because text/plain by definition does not permit binary data.

As far as I can see, the bug is that the webserver advertize the text as
windows-1252 instead of UTF-8 (as you can see using control-I under firefox.

It doesn't
dev@lal:~$ curl -I https://www.debian.org/doc/debian-policy/policy.txt
HTTP/2 200
x-content-type-options: nosniff
x-frame-options: sameorigin
referrer-policy: no-referrer
x-xss-protection: 1
permissions-policy: interest-cohort=()
strict-transport-security: max-age=15552000
last-modified: Thu, 27 Feb 2025 11:48:16 GMT
etag: "77912-62f1e43fca423"
accept-ranges: bytes
content-length: 489746
cache-control: max-age=86400
expires: Sun, 13 Apr 2025 19:01:50 GMT
vary: Accept-Encoding,cookie
x-clacks-overhead: GNU Terry Pratchett
content-type: text/plain
date: Sat, 12 Apr 2025 19:01:50 GMT
server: Apache

 

Reply to: