Supplementary-plane characters will destroy UI on save
Unicode contains a plethora of supplementary-plane characters, but a common example would be emoji characters like U+1F632. When they’re contained somewhere in the code—even if just inside strings—and the user tries to save the file, the editor shrinks down to a single line and is overlayed with red error text. There’s no way of getting out of this view unless you were to refresh the page.
The back-end should accept all characters, and the exception behavior of the save function should be fixed such that the UI stays usable.
PS: YellowGrass errors on supplementary characters, too, so I’ve substituted above character by its unicode code point.Submitted on 18 November 2016 at 07:50
Log in to post comments