Skip to content

Unicode paths? #70

Description

@dstromberg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions