Code Monkey home page Code Monkey logo

Comments (6)

gennaios avatar gennaios commented on July 19, 2024 1

As the torrent is created with a file name encoded in NFD, when attempting to seed on another operating system, the file name is different and as such the torrent client thinks the file does not exist. I often create torrents on macOS and seed on Linux. Currently, I have to first ensure there are no accents, diacritics, or non-Latin characters in the file name before creating.

from mktorrent.

taylorthurlow avatar taylorthurlow commented on July 19, 2024 1

I just wanted to confirm that I'm also encountering this issue, and that it is definitely a property of mktorrent on macOS.

APFS (compared to HFS) seems to be happy to allow you to write unicode filenames with NFC-normalized characters, and they will stay that way, but mktorrent seems to read and generate its bencoded data structure with the path strings re-normalized back to NFD. This is how we get into the scenario that @gennaios mentioned, where it's even possible to generate a torrent on macOS, load it into a torrent client on that same system, and have it fail verification. This would require torrent clients to auto-normalize back to NFC unicode, which I can at least say that Deluge on linux is not doing.

from mktorrent.

denkristoffer avatar denkristoffer commented on July 19, 2024

The above user deleted their account so I assume the offer to add this is off the table, but it would definitely be a welcome addition as this has been giving me problems lately!

from mktorrent.

pobrn avatar pobrn commented on July 19, 2024

@denkristoffer if this issue is still relevant, could you please elaborate the nature of the problems it's causing?

from mktorrent.

pobrn avatar pobrn commented on July 19, 2024

@gennaios thanks for the explanation.

from mktorrent.

gennaios avatar gennaios commented on July 19, 2024

Any updates as to when this might be addressed? Mentioning it to someone, he said with accents, the created torrent file from macOS is even unusable on any system, even on macOS itself.

from mktorrent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.