~eliasnaur/gio#184: 
Prevent invalid/unsupported characters to appear on Editor

Some characters aren't supported by some text-fonts/ttf: such as emojis and other symbols. Currently, it leads the Editor to display an "empty space" (" "), "square" ("□") or nothing ("") instead of the symbol.

However, the Editor.Text() will return such character too, since it's not removed.


I think the Editor should (optionally) verify if the text is valid for the current font. Then, stripping invalid characters. So, if the user inserts some "emoji" it will be removed (if the font doesn't handle it), the user will not see some , and the Editor.Text() will not include the emoji too.


I'm not sure if it's possible and if will have some considerable performance impact for each new entry.

Status
REPORTED
Submitter
~inkeliz
Assigned to
No-one
Submitted
a month ago
Updated
a month ago
Labels
No labels applied.