diff --git a/Build/Changes.txt b/Build/Changes.txt index 63571417e..2201db1d8 100644 --- a/Build/Changes.txt +++ b/Build/Changes.txt @@ -1,13 +1,13 @@ -================================================================================== +================================================================================ = = = Notepad3 - light-weight Scintilla-based text editor for Windows = = = = (c) Rizonesoft 2008-2019 = = https://www.rizonesoft.com = = = -================================================================================== +================================================================================ Rizonesoft Notepad3 --- CHANGELOG --- -================================================================================== +================================================================================ ---------------------------------------------------- LEGEND: @@ -31,7 +31,7 @@ UCD - (UCD)ARDET is an Encoding Detector Library ==================================================== -Current BETA Version 5.19.1127.(#build) (2019-11-27) +Current BETA Version 5.19.1128.(#build) (2019-11-28) ==================================================== ---------------------------------------------------- @@ -49,6 +49,8 @@ NEW: ---------------------------------------------------- CHANGES: ---------------------------------------------------- +- Encoding detection fallback: explicitly defined or (UTF-8 (if valid) else current ANSI code-page). +- Use Ctrl+Alt+L for toggle "Menu: Reuse Window" option. - Change wording "Administrator" to "Elevated". - MiniPath - Notepad3 communication. - Hidden "ExitOnESCSkipLevel" feature (Exit on ESC can ignore a selection). diff --git a/test/test_files/encoding/Txtfiles/test_chinese_chars - UCD=GB18030 (issue #1815).txt b/test/test_files/encoding/Txtfiles/test_chinese_chars - UCD=GB18030 (issue #1815).txt new file mode 100644 index 000000000..54ed09b4f --- /dev/null +++ b/test/test_files/encoding/Txtfiles/test_chinese_chars - UCD=GB18030 (issue #1815).txt @@ -0,0 +1,5 @@ +这是乱码吗?现在测试一下是否会出现乱码。 + +今天是2019年11月28日 +天气:晴朗 气温:12摄氏度 +现在进行的是代码编码是否会错误 \ No newline at end of file diff --git a/test/test_files/encoding/UTF-8/dl - (utf-8) Use as fallback on detection failure (issue #1815).js b/test/test_files/encoding/UTF-8/dl - (utf-8) Use as fallback on detection failure (issue #1815).js new file mode 100644 index 000000000..971c0e14c --- /dev/null +++ b/test/test_files/encoding/UTF-8/dl - (utf-8) Use as fallback on detection failure (issue #1815).js @@ -0,0 +1,92 @@ +javascript:!function(){ + var userName = location.href.split("/")[4]; + var fileName = "Twilog-" + userName + ".html"; + var fileNameForAll = "Twi " + userName + ".html"; + + $(document).ready(function(){ + $("#loading").before('馃搩All(First)銉嶃偣銉'); + $('#save').css("size", "50px").click(function() { idSave(fileName) }); + $('#saveall').css("size", "50px").click(function() { idSaveAll(fileNameForAll, userName) }); + }); + + function idSaveAll(fName, id) { + var text = conv( $("#results").html(), true ); + if (text =="") return; + + var nest = "", LocalSaveFolder = "save", SaveFolderName = LocalSaveFolder; + if ($('#nest').is(':checked')) + var nest = "../../../", SaveFolderName = "FX" + "/" + LocalSaveFolder; + var header = ['', '', '', '