Skip to content

Fix UTF-8 double encoding issue with accented characters#150

Open
loxK wants to merge 1 commit intoayselafsar:masterfrom
Gecka-Apps:fix-utf8-encoding
Open

Fix UTF-8 double encoding issue with accented characters#150
loxK wants to merge 1 commit intoayselafsar:masterfrom
Gecka-Apps:fix-utf8-encoding

Conversation

@loxK
Copy link
Copy Markdown

@loxK loxK commented Oct 30, 2025

Replace utf8_encode() with mb_convert_encoding() and check if string is already UTF-8 before converting to avoid double encoding that causes 404 errors on paths with accented characters (e.g., 'Santé').

Fixes #119

@github-actions github-actions bot added the stale This has no recent activity label Dec 30, 2025
@github-actions github-actions bot closed this Jan 6, 2026
@loxK loxK mentioned this pull request Feb 6, 2026
@ayselafsar ayselafsar reopened this Mar 30, 2026
@ayselafsar ayselafsar removed the stale This has no recent activity label Mar 30, 2026
Replace utf8_encode() with mb_convert_encoding() and check if string is
already UTF-8 before converting to avoid double encoding that causes 404
errors on paths with accented characters (e.g., 'Santé').

Fixes ayselafsar#119
@loxK loxK force-pushed the fix-utf8-encoding branch from 0a89753 to 4269bd7 Compare March 31, 2026 00:25
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.

Wrong chars encoding, error loading images (404)

2 participants