Registered Member
|
Filename in list (text on russian):
I can create file with this name on HDD without any problems. File, created on HDD by kTorrent:
KTorrent shouldn't cut filenames like here. Maybe source of bug -- non-English letters in filename and wrong calculation of string length.
What isn`t remembered never happened. Memory is merely a record. You just need to rewrite that record.
|
Moderator
|
|
Registered Member
|
|
Registered Member
|
|
Moderator
|
|
Moderator
|
|
Registered Member
|
When you encode Russian and any other non-English characters each character in result string represented by more then one symbol. For example, it's web-address with Russian word "Тест" (test) in the end: http://ru.wikipedia.org/wiki/%D0%A2%D0%B5%D1%81%D1%82
As you can see each character represented as... 6 characters! Every character in Russian word test represented by 2 bytes which written as 4 characters and 2 separators. If I understand right filename limited to 255 symbols and when kTorrent count amount of characters in string he count... bytes in encoded string! But when almost all symbols non-English this method fails, because each non-English symbol represented as 6 bytes!
What isn`t remembered never happened. Memory is merely a record. You just need to rewrite that record.
|
Moderator
|
It is more complicated then that, the limit is actually 4096, however each component of a path can only be 255 bytes in length. |
Moderator
|
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]