Skip to content
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

UTF-8 #25

Open
chriship opened this issue Aug 23, 2017 · 2 comments
Open

UTF-8 #25

chriship opened this issue Aug 23, 2017 · 2 comments

Comments

@chriship
Copy link

chriship commented Aug 23, 2017

Hi,

Should this work with UTF-8 encoded files? If I try to open a file using json.open("file.json") that is UTF-8 encoded I get the following error:

ofxJSONElement::openLocal: Unable to parse file.json: * Line 1, Column 1
Syntax error: value, object or array expected.

If the same file is encoded as ANSI then it works fine.

@bakercp
Copy link
Collaborator

bakercp commented Aug 23, 2017

This is a jsoncpp issue open-source-parsers/jsoncpp#428

@bakercp bakercp closed this as completed Aug 23, 2017
@bakercp bakercp reopened this Aug 23, 2017
@bakercp
Copy link
Collaborator

bakercp commented Aug 23, 2017

We need to confirm that the old API is not being used. Since ofJson is now the OF standard, this addon isn't maintained anymore, but PRs are welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants