webtorrent / create-torrent

Create .torrent files
https://webtorrent.io
MIT License
341 stars 94 forks source link

`ENOENT: no such file or directory` when folder contains non-unicode character. #195

Closed wafuu-chan closed 1 year ago

wafuu-chan commented 1 year ago

What version of this package are you using? 6.0.2

What operating system, Node.js, and npm version? OS: Alpine 3.14.0 node: v14.20.1 npm: 7.17.0

OS: Debian 11.6 node: v12.22.12 npm: 7.5.2

What happened?

 # mkdir ''$'\344'''
 # create-torrent .
Error: ENOENT: no such file or directory, stat '�'

What did you expect to happen?

Torrent gets created.

Are you willing to submit a pull request to fix this bug?

github-actions[bot] commented 1 year ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?