StyledEdit doesn't check for valid utf-8
|Reported by:||zooey||Owned by:||nobody|
|Has a Patch:||no||Platform:||All|
If you use StyledEdit to open a file that doesn't contain utf-8 but text encoded in a different charset, BTextView will get confused about the character widths and strange things will happen when editing near the bogus characters.
Easily reproducible with /boot/system/data/Canna/default/default.canna.
So I guess StyledEdit (and the file-based BTextView::SetText()) should check the file content for being valid utf-8 and complain if it isn't.