Skip to content
This repository was archived by the owner on Dec 1, 2024. It is now read-only.
This repository was archived by the owner on Dec 1, 2024. It is now read-only.

"IO error: Failed to create dir: Invalid argument" when having non-latin characters in folder name (only on windows) #40

@apolkingg8

Description

@apolkingg8
const rocksdb = require("rocksdb")
const path = require("path")

rocksdb(path.resolve(__dirname, '中文')).open(function (res) {
    debugger
})
IO error: Failed to create dir: G:\GitHub\pouchdown-chinese-test\中文: Invalid argument

Mac works fine, only happened on Windows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions