Skip to content

fix(webserver): re-encode shared files page as UTF-8 with English alttexts - #80

Merged
ngosang merged 1 commit into
amule-org:masterfrom
ngosang:fix/shared-page-utf8
Jun 11, 2026
Merged

fix(webserver): re-encode shared files page as UTF-8 with English alttexts#80
ngosang merged 1 commit into
amule-org:masterfrom
ngosang:fix/shared-page-utf8

Conversation

@ngosang

@ngosang ngosang commented Jun 11, 2026

Copy link
Copy Markdown
Member

amuleweb-main-shared.php was the only template file encoded in ISO-8859-1 while every page declares a UTF-8 charset, so the toolbar tooltips rendered as mojibake ("Alza Priorit?"). On top of that, the four toolbar alt texts were in Italian on an otherwise English UI.

Translate the alt texts to English ("Reload shared files", "Raise priority", "Lower priority", "Set priority"), which also removes the only non-ASCII bytes in the file, making it plain ASCII / valid UTF-8 like the rest of the template.

Verified against a running amuleweb: the served page is valid UTF-8 and the tooltips render correctly.

… texts

amuleweb-main-shared.php was the only template file encoded in
ISO-8859-1 while every page declares a UTF-8 charset, so the toolbar
tooltips rendered as mojibake ("Alza Priorit?"). On top of that, the
four toolbar alt texts were in Italian on an otherwise English UI.

Translate the alt texts to English ("Reload shared files", "Raise
priority", "Lower priority", "Set priority"), which also removes the
only non-ASCII bytes in the file, making it plain ASCII / valid UTF-8
like the rest of the template.

Verified against a running amuleweb: the served page is valid UTF-8
and the tooltips render correctly.
@ngosang
ngosang merged commit 6c97df1 into amule-org:master Jun 11, 2026
9 checks passed
@ngosang
ngosang deleted the fix/shared-page-utf8 branch June 11, 2026 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant