Git commit 0f2530253adf065959afbaa174e4d3029ff67191 by Méven Car, on behalf of
Ramil Nurmanov.
Committed on 30/03/2026 at 07:49.
Pushed by meven into branch 'master'.
kio_ftp: Enable UTF-8 encoding negotiation after successful login
Currently kio_ftp uses legacy encodings for filenames and responses,
leading to garbled non-ASCII characters (e.g. Cyrillic) on UTF-8
servers.
This commit adds simple UTF-8 support in ftpLogin():
- Send CLNT kio_ftp (for compatibility with servers requiring client ID)
- Send OPTS UTF8 ON
- If server replies 200 → switch to UTF-8 via
remoteEncoding()->setEncoding("UTF-8")
- On failure (e.g. 500/501) → fallback to default encoding (no regression)
Also Check CLNT command result before enabling UTF-8.
Related: bug 269370
M +9 -0 src/kioworkers/ftp/ftp.cpp
https://invent.kde.org/frameworks/kio/-/commit/0f2530253adf065959afbaa174e4d3029ff67191
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/510018
Title:
Cannot delete file with bad filename
To manage notifications about this bug go to:
https://bugs.launchpad.net/kde-baseapps/+bug/510018/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs