yaml icon indicating copy to clipboard operation
yaml copied to clipboard

Japanese caractere

Open shinji62 opened this issue 9 years ago • 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

shinji62 avatar May 17 '16 07:05 shinji62

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 <[email protected]>
    (Fri Jun 10 15:08:38 2016 +0200)\n"

For an input like this

"Initial commit\n西郷 隆盛 <[email protected]>
    (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.

mh-cbon avatar Jun 30 '16 10:06 mh-cbon