-
Notifications
You must be signed in to change notification settings - Fork 83
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
jaq outputs invalid utf8 escaped json #209
Comments
This is to confirm that jaq (including jaq 2.0.0-alpha) is incorrect:
Perhaps the intention was that jaq should write "\u200bbanana \u200eman",
|
Thank you for your bug report, @ibash-corpusant! However, because your PR adds a new dependency, allocates a new string, and may fail, I corrected the problem in a way that avoids all that. |
thank you for the quick fix! |
I still have this problem on version 2.1.0, is that possible? Or am I doing anything wrong?
|
I'm not sure if jaq is outputting invalid utf8, or if jq is too liberal in what it accepts. In any case this is easy to reproduce:
Steps:
Expected:
Actual:
The text was updated successfully, but these errors were encountered: