Skip to content

JSON parse error due to locale encoding issue on Windows #13

@davidWeiCZK

Description

@davidWeiCZK

Running code blocks in Risidian failed with Unexpected end of JSON input and argument is of length zero. All required packages were installed, but no output appeared.
Turns out it was a locale issue on Windows 10.
Running the following in R fixed it:

Sys.setlocale("LC_ALL", "C")
options(encoding = "UTF-8")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions