@nick_evans @postmodern I had not come across this surprise in JSON, fortunately, because it also allows you to write emoji without escaping. However, I've had to deal with software which (incorrectly) exports XML with escaped surrogate code points (like `��`) but only imports correctly escaped characters like (`🚀`).
Reading up on Unicode (even more than before...): "... Sometimes it's embarrassing to be a software engineer." https://softwareengineering.stackexchange.com/questions/102205/should-utf-16-be-considered-harmful And did you know that 👩🏿‍🦰 =
����‍�� ?
Should UTF-16 be considered harmful?

I'm going to ask what is probably quite a controversial question: "Should one of the most popular encodings, UTF-16, be considered harmful?" Why do I ask this question? How many programmers are a...

Software Engineering Stack Exchange