Closed GoogleCodeExporter closed 9 years ago
According to the specification http://yaml.org/spec/1.1/#id868524 (5.1.
Character Set):
The allowed character range explicitly excludes the surrogate block
#xD800-#xDFFF
As you can see 0xD83D falls exactly into this range.
Original comment by py4fun@gmail.com
on 2 Feb 2015 at 3:28
This is clearly a problem for iOS emoji. Apple should follow the Unicode
specification.
According to the Unicode spec
(http://en.wikipedia.org/wiki/Universal_Character_Set_characters#Surrogates):
Isolated surrogate code points have no general interpretation; consequently, no
character code charts or names lists are provided for this range.
Original comment by py4fun@gmail.com
on 4 Feb 2015 at 11:40
A test was added to remember the problem:
https://code.google.com/p/snakeyaml/source/detail?r=6f147af941116e714f321a7f7744
66ecc1ef4a98
Original comment by py4fun@gmail.com
on 4 Feb 2015 at 2:48
text: "😷😊"
Original issue reported on code.google.com by
snow.hel...@gmail.com
on 1 Feb 2015 at 3:19Attachments: