mikestead / hx-yaml

A cross-platform YAML 1.2 parser & renderer for Haxe.
MIT License
75 stars 28 forks source link

utf8 issues in Neko #11

Open fponticelli opened 9 years ago

fponticelli commented 9 years ago

I tried to parse a YAML containing UTF8 chars and the validation step failed. I removed the following lines and it worked.

https://github.com/mikestead/hx-yaml/blob/master/src/yaml/Parser.hx#L167 https://github.com/mikestead/hx-yaml/blob/master/src/yaml/Parser.hx#L1313

Isn't there a double encoding going on?

olichose123 commented 7 years ago

I had a std@utf8 crash on neko that happened when there were some formatting errors or a white space. I'm guessing it's a similar issue.

mikestead commented 4 years ago

Wow this is old, apologies @fponticelli. As you guessed not much time to maintain this anymore and not writing Haxe these days.

That said if there's a bug then a PR with tests and a fix are more than welcome from anyone bumping into this