v4.4.1 - Rollback from Qt6 to Qt5 causes file access path errors
Posted: Fri Feb 18, 2022 9:28 am
Hi,
I am using Win 11 64 bits with French Locale (this is important), and both access pathes for completed and incomplete files contain an "é".
I had qBittorrent v4.4.0 Qt6 installed, and upgraded it to v4.4.1 64 bits Qt5 (I did not pay attention to the Qt version).
After the upgrade, newly added torrents were saved into a folder where all the "é" were replaced by "é". Existing torrents were not affected.
Deleting the folder with "é" and recreating it, or renaming it directly, did not change the qBittorrent Qt5 behaviour.
In the end, I deleted the newly added torrents, reinstalled v4.4.1 64 bits Qt6, re-added the torrents within and the folder naming issue disappeared.
Although it is a rather "corner case", my guess is the issue comes from UTF8 / Unicode handling in Qt.
I am using Win 11 64 bits with French Locale (this is important), and both access pathes for completed and incomplete files contain an "é".
I had qBittorrent v4.4.0 Qt6 installed, and upgraded it to v4.4.1 64 bits Qt5 (I did not pay attention to the Qt version).
After the upgrade, newly added torrents were saved into a folder where all the "é" were replaced by "é". Existing torrents were not affected.
Deleting the folder with "é" and recreating it, or renaming it directly, did not change the qBittorrent Qt5 behaviour.
In the end, I deleted the newly added torrents, reinstalled v4.4.1 64 bits Qt6, re-added the torrents within and the folder naming issue disappeared.
Although it is a rather "corner case", my guess is the issue comes from UTF8 / Unicode handling in Qt.