Summary / problem statement
When opening text files concatenated from different sources, it is possible that there are mixed Unicode representations for diacritics, where some characters are precomposed and some are not.
See Unicode equivalence.
When left as is, it often cause parsing problems in other applications. Also, "low-power" systems (like e-readers) almost always expect NFC (if they support Unicode at all), otherwise they do not display the text correctly due to the limited font.
Proposed solution / UX
In Edit->Convert menu, add NFC/NFD/NFKC/NFKD options to apply the corresponding operation to the selected text.
If possible, detect whether there are mixed combining/precomposed text, and give option to convert to either (similar to the mixed CR/LF situation).
Alternatives considered
No response
Scope (best guess)
File I/O / encoding / paths
Confirmation
Summary / problem statement
When opening text files concatenated from different sources, it is possible that there are mixed Unicode representations for diacritics, where some characters are precomposed and some are not.
See Unicode equivalence.
When left as is, it often cause parsing problems in other applications. Also, "low-power" systems (like e-readers) almost always expect NFC (if they support Unicode at all), otherwise they do not display the text correctly due to the limited font.
Proposed solution / UX
In Edit->Convert menu, add NFC/NFD/NFKC/NFKD options to apply the corresponding operation to the selected text.
If possible, detect whether there are mixed combining/precomposed text, and give option to convert to either (similar to the mixed CR/LF situation).
Alternatives considered
No response
Scope (best guess)
File I/O / encoding / paths
Confirmation