-
-
Notifications
You must be signed in to change notification settings - Fork 925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YAML: Can't load files with characters in the supplementary plane #4492
Comments
Can confirm, got bitten by it while trying to parse emoji-powered YML.
|
This is likely a bug in the SnakeYAML library we use. It's probably not handling surrogate pairs in its parser. |
This appears to have been fixed in snakeyaml but there has been no release with that fix. I just requested one here: https://bitbucket.org/asomov/snakeyaml/issues/323/is-there-any-reason-to-not-support |
@asomov could you please save us by rolling out the release with a fix? Спасибо! 🤗 |
I'll keep this open until we have the psych release integrated into JRuby. |
See original issue: ruby/psych#293
I can confirm this behaviour on 1.7.25, 9.1.5.0, 9.1.6.0 and 9.1.7.0
OS:
Java:
ENV:
The text was updated successfully, but these errors were encountered: