notepad-plus-plus-legacy/PowerEditor
Silent ac09857656 Fix UTF-8 detection for 4 byte characters
This PR fixes UTF-8 detection for 4 byte characters (a 2002 code used by npp assumed characters longer than 3 bytes are invalid -.-). This means such files will not be erroreously displayed as ANSI anymore.

Steps to reproduce:

Create a new UTF-8 file (w/out BOM)
Paste eg. this character 🍪 and save.
Reopen the file again.
Prior to this PR, file is detected as ANSI (even if Notepad++ is configured to default-assume UTF-8!!!). After this fix, file gets opened as UTF-8 correctly.

Fixes #4730, Fixes #3986, Fixes #3441, Fixes #3405, Closes #4922
2018-11-09 13:39:00 +01:00
..
bin Remove allowAppDataPluginsLoading option from the installer 2018-11-03 20:57:10 +01:00
gcc MinGW GCC update 2016-10-31 14:03:29 +01:00
installer Update chinese.xml 2018-11-09 13:13:53 +01:00
misc/chameleon Remove the old icon 2016-09-21 09:06:22 +02:00
resources Adapt json format for Plugin admin 2017-09-24 18:27:42 +02:00
scintilla.original.forUpdating Create scintillaUpdatingWorkFlow.txt 2015-07-25 01:35:43 +02:00
src Fix UTF-8 detection for 4 byte characters 2018-11-09 13:39:00 +01:00
Test/FunctionList Add unit tests for function list feature 2018-04-13 12:46:03 +02:00
visual.net Add SHA-256 implementation and use sha-256 instead of md5 in Plugin Admin 2018-10-24 09:45:35 +02:00