Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicode paths? #70

Open
dstromberg opened this issue Mar 16, 2024 · 0 comments
Open

Unicode paths? #70

dstromberg opened this issue Mar 16, 2024 · 0 comments
Labels

Comments

@dstromberg
Copy link

Am I correct in thinking that python-fuse uses full unicode for pathnames?

I believe that might work better on Windows and Mac than on Linux. Windows and Mac define an encoding for pathnames, but last I heard Linux didn't.

That's probably convenient for most applications, but for system software like a backup program it's probably not a good idea; there could be filenames that aren't unicode.

EG in this:
https://github.com/libfuse/python-fuse/blob/master/example/hello.py
hello_path = '/hello'

...hello_path probably should be (allowed to be?) b'/hello'

I believe anything in unicode can be serialized to bytes, but not everything that is bytes can be deserialized to unicode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants