libyaml icon indicating copy to clipboard operation
libyaml copied to clipboard

Unicode anchor and alias names are not supported.

Open peterkmurphy opened this issue 6 years ago • 2 comments

Like pyyaml (as of February 2019), Unicode anchor and alias names are not supported. Trying to use anchors something like

- &汉 "There's a guy in the place who's got a bittersweet face"

Gives "did not find expected alphabetic or numeric character" errors in the context "while scanning an anchor." This causes issues not only in the parser itself, but also in dependencies like pyyaml:

https://github.com/yaml/pyyaml/issues/94

I'm currently working on a patch.

peterkmurphy avatar Feb 19 '19 12:02 peterkmurphy

A possible fix is contained in the following pull request:

https://github.com/yaml/libyaml/pull/133

Would someone else be able to look at this?

peterkmurphy avatar Apr 23 '19 11:04 peterkmurphy

@perlpunk and @ingydotnet : would any of you have time to see if my fix sorts our this issue?

Thanks, Peter

peterkmurphy avatar May 03 '19 23:05 peterkmurphy