You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Web browser, ruTorrent, PHP and OS version provided
Tell us about your environment
Web Browser: Firefox 113.0.2 (64-bit) (also occurs in Chrome)
ruTorrent - v4.0-stable
PHP: PHP 8.1.7
OS: Ubuntu 22.10
Tell us how you installed ruTorrent
not relevent
Describe the bug
Re-using an existing label with UTF-8 characters causes the string to be re-encoded incorrectly. This combined with AutoTools causes the folder that the data is written into to change.
Steps to reproduce
Configure AutoTools to move files into a folder based on the label name
Add torrent and assign the label 엄마.
Observe that the file is saved into a folder called 엄마
"엄마".bytes
=> [236, 151, 132, 235, 167, 136]
Add a new torrent and assign the existing 엄마 label to it.
Observe that the new file is saved into a folder called 엄마, with the following bytes.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Please complete the following tasks.
Tell us about your environment
Web Browser: Firefox 113.0.2 (64-bit) (also occurs in Chrome)
ruTorrent - v4.0-stable
PHP: PHP 8.1.7
OS: Ubuntu 22.10
Tell us how you installed ruTorrent
not relevent
Describe the bug
Re-using an existing label with UTF-8 characters causes the string to be re-encoded incorrectly. This combined with AutoTools causes the folder that the data is written into to change.
Steps to reproduce
엄마
.엄마
엄마
label to it.엄마
, with the following bytes.Note: the oddly encoded string does not survive copy-paste into the browser, but does in and out of a terminal.
Expected behavior
I would expect the string for the label to stay the same in order to consistently put the content in the same folder.
Additional context
No response
The text was updated successfully, but these errors were encountered: