Skip to content

Readstat cannot open file where the filepath contains non-unicode characters #200

@mirhyman

Description

@mirhyman

I have a file that is named with Icelandic characters and on Windows (I don't know about other OS's but I can test them if relevant) when I try to read the file using readstat I get an "unable to read file" error. I can work around this by just changing the filepath to not contain icelandic characters but ideally it would be able to work without that.

I also tested this using japanese characters in the filepath, as well as korean to verify it was not just icelandic character problems.

I have attached a simple repro with an icelandic and japanese file name path:

新しいフォルダー 2.zip
Ö.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions