• Bug#1109231: www.debian.org: text versions of release-notes not properl

    From Holger Wansing@21:1/5 to Daniele Forsi on Wed Jul 16 23:40:01 2025
    XPost: linux.debian.www

    Hi,

    Daniele Forsi <[email protected]> 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 <[email protected]>
    PGP-Fingerprint: 496A C6E8 1442 4B34 8508 3529 59F1 87CA 156E B076

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Holger Wansing@21:1/5 to Thomas Lange on Sat Jul 19 13:10:02 2025
    XPost: linux.debian.www

    Hi,

    Thomas Lange <[email protected]> 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/<release-name> AFAICS)


    Holger


    --
    Holger Wansing <[email protected]>
    PGP-Fingerprint: 496A C6E8 1442 4B34 8508 3529 59F1 87CA 156E B076

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)