mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
Wrong symbols in torrent file #14795
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#14795
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Aleksman4o on GitHub (Jul 5, 2023).
qBittorrent & operating system versions
qBIttorent: 4.6.0beta1
OS: Linux
libtorrent-rasterbar: v1.2
What is the problem?
If some files in torrent-file have name on wrong codepage, their symbols changes to "__". So, if we have several files with same name length - their all will be merged in one file.


That's example of such torrent: https://rutracker.org/forum/viewtopic.php?t=430067
Steps to reproduce
No response
Additional context
No response
Log(s) & preferences file(s)
No response
@glassez commented on GitHub (Jul 5, 2023):
What "codepage" do you talk about? Filenames are required to be UTF-8 encoded according to BitTorrent specifications.
@Aleksman4o commented on GitHub (Jul 5, 2023):
i don't know, it's just assumption. So, may be when opening torrent-file this symbols should be converted to utf-8 as is? not just "__"
@stalkerok commented on GitHub (Jul 5, 2023):
This is clearly related https://github.com/qbittorrent/qBittorrent/issues/7982#issuecomment-1621008792
@ValeZAA commented on GitHub (Jul 12, 2023):
Hah? There is only one folder VIDEO_TS, no?
@stalkerok commented on GitHub (Jul 12, 2023):
No. You can open it in the client and in http://torrenteditor.com/ for example
aclands video atlas of human anatomy.torrent.txt (remove .txt)
@stalkerok commented on GitHub (Jul 31, 2023):
Another torrent
Karantin.torrent.txt