We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When the comment contains Unicode such as Chinese, yq merge will panic.
Input Yaml Minimal test yamls below:
a.yaml:
a: work
b.yaml:
中文: work
c.yaml:
c: error # 中文
d.yaml
d: 中文
Command
yq merge a.yaml b.yaml # Okay yq merge a.yaml c.yaml # Panic! yq merge a.yaml d.yaml # Okay yq merge b.yaml d.yaml # Okay
Actual behavior
From the stack trace, maybe it's not a yq bug but a yaml.v3 bug.
yq
yaml.v3
Expected behavior
Comments with Unicode should work.
Additional context
yq version:
The text was updated successfully, but these errors were encountered:
yaml.v3 bug: go-yaml/yaml#538 It's closed but still exists...
Sorry, something went wrong.
Yeah I'm hoping someone on that project will pick it up :(
go-yaml/yaml#538 (comment) I think the fix will fly soon.
Hello, yaml.v3 fixed this issue: go-yaml/yaml#538 (comment).
yup - next release will have that fix!
No branches or pull requests
Describe the bug
When the comment contains Unicode such as Chinese, yq merge will panic.
Input Yaml
Minimal test yamls below:
a.yaml:
b.yaml:
c.yaml:
d.yaml
Command
Actual behavior
From the stack trace, maybe it's not a
yq
bug but ayaml.v3
bug.Expected behavior
Comments with Unicode should work.
Additional context
yq version:
The text was updated successfully, but these errors were encountered: