From d8da67ac159ec3eab2ebd5ebcb67d823403a8846 Mon Sep 17 00:00:00 2001 From: mrhso Date: Thu, 16 Nov 2023 04:03:14 +0800 Subject: [PATCH] Revise the ECI indicator list (#11) * make filenames NTFS compatible * revise the ECI indicator list ref: AIM ITS/04-023:2022 --- ...xcf => Screenshot - 140417 - 23_31_36.xcf} | Bin js/sqrd.js | 23 ++++++++++++------ 2 files changed, 15 insertions(+), 8 deletions(-) rename help/img/{Screenshot - 140417 - 23:31:36.xcf => Screenshot - 140417 - 23_31_36.xcf} (100%) diff --git a/help/img/Screenshot - 140417 - 23:31:36.xcf b/help/img/Screenshot - 140417 - 23_31_36.xcf similarity index 100% rename from help/img/Screenshot - 140417 - 23:31:36.xcf rename to help/img/Screenshot - 140417 - 23_31_36.xcf diff --git a/js/sqrd.js b/js/sqrd.js index d4bd650..d4795a0 100644 --- a/js/sqrd.js +++ b/js/sqrd.js @@ -13,9 +13,9 @@ var result = {message:"",error:[]}; EXT_ENCODING = [ + "Code page 437", "ISO/IEC 8859-1 (Latin-1)", - "ISO/IEC 8859-1 (Latin-1)", - "ISO/IEC 8859-1 (Latin-1)", + "Code page 437", "ISO/IEC 8859-1 (Latin-1)", "ISO/IEC 8859-2 (Latin-2)", "ISO/IEC 8859-3 (Latin-3)", @@ -27,24 +27,31 @@ EXT_ENCODING = [ "ISO/IEC 8859-9 (Latin-5)", "ISO/IEC 8859-10 (Latin-6)", "ISO/IEC 8859-11 (Latin/Thai)", - "", + "Reversed", "ISO/IEC 8859-13 (Latin-7)", "ISO/IEC 8859-14 (Latin-8/Celtic)", "ISO/IEC 8859-15 (Latin-9)", "ISO/IEC 8859-16 (Latin-10)", - "", + "Reversed", "Shift JIS", "Windows-1250", "Windows-1251", "Windows-1252", "Windows-1256", - "UTF-16", + "UTF-16BE", "UTF-8", - "US-ASCII", + "ISO/IEC 646:1991 IRV (US-ASCII)", "Big5", - "GB18030", - "EUC-KR" + "GB/T 2312", + "KS X 1001", + "GBK", + "GB 18030", + "UTF-16LE", + "UTF-32BE", + "UTF-32LE" ] +EXT_ENCODING[170] = "ISO/IEC 646 INV"; +EXT_ENCODING[899] = "8-bit binary data"; function getExtendedEncoding(code){