-
Notifications
You must be signed in to change notification settings - Fork 41
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
Drive space info missing in Explorer #140
Comments
I think the problem lies in unix::statvfs() function. The path parameter is utf-8 encoded, so you cannot use it directly with GetDiskFreeSpaceExA api.
I found a big issue with the encfs code. It doesn't support utf-8 encoded arguements on Windows, including root dir and mount point. easylogging++ also cannot print utf-8 strings in console. The executable will halt if easylogging++ prints a character which is not in the ANSI code page. SetConsoleCP() doesn't help in this situation. Probably we need to use wmain entry point and convert command line arguments from wchar to utf-8. |
Hi @leochou0729 Yes we've have issues reported with non-ANSI character sets, especially double-byte languages, in encfs4win (see #55 and #79). Would you be able to draft up a PR with your findings so we can test this out? Or at least your update involving changing Please let me know if you need any help with the codebase or our PR process! |
Hi @leochou0729 -- the latest beta version (v1.11.0-beta4) is built off of the latest Dokany library (v2), which should not be affected by this bug any longer. If you have a chance, could you test out this beta to see if this bug still exists? https://github.com/jetwhiz/encfs4win/releases/tag/v1.11.0-beta.4 |
Hello,
I try to mount a encfs drive with a source folder containing Chinese characters, the drive space info in explorer is missing. Instead, it shows the encfs absolute path. The source folder is utf-8 encoded.
The drive works without any problem. I'm not sure the issue is related to encfs or fuse.
Using all English characters in source path doesn't have this problem.
BTW, I have two more questiones.
Thanks!
The text was updated successfully, but these errors were encountered: