You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the YAML spec the characters #x10000-#x10FFFF do not need to be escaped, yet this library is doing so.
As a second bug, the characters in this range are being encoded in a way that is not compatible with javascript. For example, that character 🎁 should be represented to javascript as \uD83C\uDF81 or \u{1F381} but is instead being sent as \U0001F381.
The text was updated successfully, but these errors were encountered:
Are you speaking about loader or dumper? Loader should support both forms. Dumper has no options to generate JS. Last related change was in #369 and i see no problems with it.
Please, provide mode details, what is wrong (because everthing seems to be ok)
According to the YAML spec the characters
#x10000-#x10FFFF
do not need to be escaped, yet this library is doing so.As a second bug, the characters in this range are being encoded in a way that is not compatible with javascript. For example, that character
🎁
should be represented to javascript as\uD83C\uDF81
or\u{1F381}
but is instead being sent as\U0001F381
.The text was updated successfully, but these errors were encountered: