-
Notifications
You must be signed in to change notification settings - Fork 704
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
[Windows] Unicode path issue #85
Comments
Looks like the issue is the open method passes the UTF-8 string into RocksDB, but Windows uses UTF-16. It's converting it into a [edit] more info: http://stackoverflow.com/questions/29590943/how-to-convert-a-path-into-a-const-char-for-ffi I'll get to work on a fix. |
It looks like RocksDB uses ANSI encoded strings for filenames in Windows so unicode paths aren't possible at the moment. so I'll close this for now. |
Thanks for the heads up! |
On Windows, creating a database with unicode characters in the filename creates two directories: an empty one with the correct name, and one with the actual database in it but with a mangled name.
For example:
Creates two folders:
_rust_rocksdb_u͔n͈̰̎i̙̮͚̦c͚̉o̼̩̰͗d͔̆̓ͥé
(empty)_rust_rocksdb_uÍ”n͈̰̎i̙̮͚̦c͚̉o̼̩̰͗d͔̆̓ͥeÌ
(with data inside it)Linux works as expected (creates one folder with correct name)
The text was updated successfully, but these errors were encountered: