Skip to content

Commit

Permalink
Allow unquoted in encoding output -- fix for https://bugs.launchpad.n…
Browse files Browse the repository at this point in the history
  • Loading branch information
purohit committed Feb 12, 2014
1 parent d7be13b commit d006e2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions encode.go
Expand Up @@ -17,6 +17,7 @@ func newEncoder() (e *encoder) {
e = &encoder{}
e.must(yaml_emitter_initialize(&e.emitter))
yaml_emitter_set_output_string(&e.emitter, &e.out)
yaml_emitter_set_unicode(&e.emitter, true)
e.must(yaml_stream_start_event_initialize(&e.event, yaml_UTF8_ENCODING))
e.emit()
e.must(yaml_document_start_event_initialize(&e.event, nil, nil, true))
Expand Down

0 comments on commit d006e2e

Please sign in to comment.