Bug#1109231: www.debian.org: text versions of release-notes not properly encoded

2025-07-19 Thread Holger Wansing
Hi,

Thomas Lange  wrote (Thu, 17 Jul 2025 10:39:32 +0200):
> 
> Adding the missing releases/trixie/.htaccess including
> AddCharset UTF-8 .txt
> 
> fixed this issue.

Is there a reason, why we don't add this to the git repo?
(that file is currently only living directly in 
/srv/www.debian.org/www/releases/ AFAICS)


Holger


-- 
Holger Wansing 
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076



Bug#1109231: www.debian.org: text versions of release-notes not properly encoded

2025-07-17 Thread Thomas Lange


Adding the missing releases/trixie/.htaccess including
AddCharset UTF-8 .txt

fixed this issue.

-- 
regrads Thomas



Bug#1109231: www.debian.org: text versions of release-notes not properly encoded

2025-07-16 Thread Holger Wansing
Hi,

Daniele Forsi  wrote (Sun, 13 Jul 2025 22:52:11 +0200):
> The page https://www.debian.org/releases/trixie/releasenotes has links to 
> translated versions
> of the relese notes in HTML, plain text and PDF versions.
> 
> The plain text versions when downloaded and displayed locally show the 
> national characters
> correctly and according to the "file" command they are "Unicode text, UTF-8 
> text",
> but if I display them in Chrome or Firefox by clicking on the links of that 
> page, such as
> https://www.debian.org/releases/trixie/release-notes.it.txt
> I see garbled characters as if the browser is using an encoding such as 
> ISO-8859-1.

I discovered, Firefox has a feature in the menu under (something like) "Other 
tools"
(sorry, I have it localized to German here, in German it's "Mehr Werkzeuge").
The feature is named "Textkodierung reparieren" in German, so roughly "Fix text
encoding" should be the correct translation in English.
And that fixes the issue for me for all languages on 
https://www.debian.org/releases/trixie/releasenotes.

I don't know what's the magic behind this feature, but if it can be fixed
for the user this way, is it really a server issue then?

On the other hand, I only find Firefox having this feature, so it's a
solution (or moreover a workaround) for only a subset of users...

But I thought I mention it anyway, probably it helps to find the real 
reason for all this.


Holger

-- 
Holger Wansing 
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076



Bug#1109231: www.debian.org: text versions of release-notes not properly encoded

2025-07-13 Thread Daniele Forsi
Package: www.debian.org
Severity: normal
X-Debbugs-Cc: [email protected], [email protected]

The page https://www.debian.org/releases/trixie/releasenotes has links to 
translated versions
of the relese notes in HTML, plain text and PDF versions.

The plain text versions when downloaded and displayed locally show the national 
characters
correctly and according to the "file" command they are "Unicode text, UTF-8 
text",
but if I display them in Chrome or Firefox by clicking on the links of that 
page, such as
https://www.debian.org/releases/trixie/release-notes.it.txt
I see garbled characters as if the browser is using an encoding such as 
ISO-8859-1.

The HTML and the PDF versions do not show this issue.


Daniele