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

aligned output json doesn't have unicode text #10

Closed
tensorfoo opened this issue Oct 23, 2019 · 3 comments
Closed

aligned output json doesn't have unicode text #10

tensorfoo opened this issue Oct 23, 2019 · 3 comments

Comments

@tensorfoo
Copy link

tensorfoo commented Oct 23, 2019

Instead of showing unicode aligned text strings, it has for example strings that look like "\uXXXX\uYYYY....". Any way to tell the tool to output unicode correctly?

edit. Something like "".join(s) is the desired output instead of the s in the output.

@tilmankamp
Copy link
Contributor

One could add ensure_ascii=False to the json.dump calls.

@tensorfoo
Copy link
Author

One could add ensure_ascii=False to the json.dump calls.

That worked. Thank you. Should that have been the default behaviour?

@tilmankamp
Copy link
Contributor

Covered by #32

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