-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fusell] Support for character encoding
The bytes<->unicode mismatch between Python 2 and 3 made fusell impossible to use on Py3 until now. Previously, on PR #89, I made the minimal modifications necessary to have it working on Py3, but it basically left the duty of character encoding/decoding to the application. Instead, this PR fully implements encoding/decoding of strings on the fuse_xxx, reply_readdir and reply_readlink functions, so that the applications only needs to handle unicode strings, similar to how it's done on fuse.py.
- Loading branch information
1 parent
174664c
commit 54761ac
Showing
2 changed files
with
40 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters