No option to use yaml_emitter_set_unicode
Bug #1279042 reported by
Ashwin Purohit
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
goyaml |
New
|
Undecided
|
Unassigned |
Bug Description
There is no option to use yaml_emitter_
line: 你好
And I unmarshal and re-marshal it, when I write it to a file I will get:
line: "\u4F60\u597D"
which is unexpected -- I prefer the unescaped version.
When I add this line as L20 in encoder.go:
yaml_emitter_
The problem is resolved, and line: 你好 displays normally on output. At the very least, there should be an option to yaml_emitter_
description: | updated |
To post a comment you must log in.