ghodss/yaml

Japanese caractere

shinji62 opened this issue · 1 comments

Hi,

My Yaml is containing some japanese caractere.

When I try to convert to Json I got this error

err: error converting YAML to JSON: yaml: [while parsing a quoted scalar] did not find expected hexdecimal number at line 3, column 19
---
description: "テ Testing"

This failed, if you have any hints please let me know.

Thanks

same here.

To add to the initial description.

I can marshal to yaml.

It produces

"Initial commit\n\u?@>F\u@7F> \u@=?=\u>=DB <mh-cbon@users.noreply.github.com>
    (Fri Jun 10 15:08:38 2016 +0200)\n"

For an input like this

"Initial commit\n西郷 隆盛 <mh-cbon@users.noreply.github.com>
    (Fri Jun 10 15:08:38 2016 +0200)\n"

The problem, for me, occurs when loading back the yaml, unmarshalling, i receive the quoted error.