From 52e8c68f901e1dadaeb342bf38940779448277ec Mon Sep 17 00:00:00 2001 From: Don HO Date: Mon, 4 Jan 2021 15:02:09 +0100 Subject: [PATCH] Change XML encoding from Windows-1252 to UTF-8 (config.xml and others) and add XML declaration for session.xml, shortcuts.xml & userDefineLang.xml for conforming to XML standard specs. Regarding the suggestions from #9339 --- PowerEditor/bin/userDefineLang.xml | 65 +++++++++++++++++++ PowerEditor/installer/APIs/BaanC.xml | 2 +- PowerEditor/installer/APIs/actionscript.xml | 2 +- PowerEditor/installer/APIs/autoit.xml | 2 +- PowerEditor/installer/APIs/batch.xml | 2 +- PowerEditor/installer/APIs/c.xml | 2 +- PowerEditor/installer/APIs/cmake.xml | 2 +- PowerEditor/installer/APIs/cobol.xml | 2 +- PowerEditor/installer/APIs/coffee.xml | 2 +- PowerEditor/installer/APIs/cpp.xml | 2 +- PowerEditor/installer/APIs/cs.xml | 2 +- PowerEditor/installer/APIs/css.xml | 2 +- PowerEditor/installer/APIs/html.xml | 2 +- PowerEditor/installer/APIs/java.xml | 2 +- PowerEditor/installer/APIs/javascript.xml | 2 +- PowerEditor/installer/APIs/lisp.xml | 2 +- PowerEditor/installer/APIs/lua.xml | 2 +- PowerEditor/installer/APIs/nsis.xml | 2 +- PowerEditor/installer/APIs/perl.xml | 2 +- PowerEditor/installer/APIs/php.xml | 2 +- PowerEditor/installer/APIs/python.xml | 2 +- PowerEditor/installer/APIs/rc.xml | 2 +- PowerEditor/installer/APIs/sql.xml | 2 +- PowerEditor/installer/APIs/tex.xml | 2 +- PowerEditor/installer/APIs/vb.xml | 2 +- PowerEditor/installer/APIs/vhdl.xml | 2 +- PowerEditor/installer/APIs/xml.xml | 2 +- PowerEditor/installer/themes/Bespin.xml | 2 +- PowerEditor/installer/themes/Black board.xml | 2 +- PowerEditor/installer/themes/Choco.xml | 2 +- .../installer/themes/DansLeRuSH-Dark.xml | 2 +- PowerEditor/installer/themes/Deep Black.xml | 2 +- PowerEditor/installer/themes/Hello Kitty.xml | 2 +- .../installer/themes/HotFudgeSundae.xml | 2 +- .../installer/themes/Mono Industrial.xml | 2 +- PowerEditor/installer/themes/Monokai.xml | 2 +- PowerEditor/installer/themes/MossyLawn.xml | 2 +- PowerEditor/installer/themes/Navajo.xml | 2 +- PowerEditor/installer/themes/Obsidian.xml | 2 +- .../installer/themes/Plastic Code Wrap.xml | 2 +- PowerEditor/installer/themes/Ruby Blue.xml | 2 +- .../installer/themes/Solarized-light.xml | 2 +- PowerEditor/installer/themes/Solarized.xml | 2 +- PowerEditor/installer/themes/Twilight.xml | 2 +- PowerEditor/installer/themes/Vibrant Ink.xml | 2 +- PowerEditor/installer/themes/Zenburn.xml | 2 +- PowerEditor/installer/themes/khaki.xml | 2 +- .../installer/themes/vim Dark Blue.xml | 2 +- PowerEditor/src/Parameters.cpp | 11 +++- PowerEditor/src/config.4zipPackage.xml | 2 +- PowerEditor/src/langs.model.xml | 2 +- PowerEditor/src/shortcuts.xml | 12 +--- PowerEditor/src/stylers.model.xml | 2 +- PowerEditor/src/toolbarIcons.xml | 2 +- PowerEditor/src/userDefineLang.xml | 2 +- 55 files changed, 128 insertions(+), 64 deletions(-) create mode 100644 PowerEditor/bin/userDefineLang.xml diff --git a/PowerEditor/bin/userDefineLang.xml b/PowerEditor/bin/userDefineLang.xml new file mode 100644 index 000000000..d89feb6f7 --- /dev/null +++ b/PowerEditor/bin/userDefineLang.xml @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/PowerEditor/installer/APIs/BaanC.xml b/PowerEditor/installer/APIs/BaanC.xml index 87554a927..248bee518 100644 --- a/PowerEditor/installer/APIs/BaanC.xml +++ b/PowerEditor/installer/APIs/BaanC.xml @@ -1,4 +1,4 @@ - + diff --git a/PowerEditor/installer/APIs/actionscript.xml b/PowerEditor/installer/APIs/actionscript.xml index 8bb1517ff..8fbf502a9 100644 --- a/PowerEditor/installer/APIs/actionscript.xml +++ b/PowerEditor/installer/APIs/actionscript.xml @@ -1,4 +1,4 @@ - + diff --git a/PowerEditor/installer/APIs/autoit.xml b/PowerEditor/installer/APIs/autoit.xml index e9cddf055..fd8c7c70a 100644 --- a/PowerEditor/installer/APIs/autoit.xml +++ b/PowerEditor/installer/APIs/autoit.xml @@ -1,4 +1,4 @@ - + diff --git a/PowerEditor/installer/APIs/batch.xml b/PowerEditor/installer/APIs/batch.xml index fccd22dd9..aaea70bfc 100644 --- a/PowerEditor/installer/APIs/batch.xml +++ b/PowerEditor/installer/APIs/batch.xml @@ -1,4 +1,4 @@ - + diff --git a/PowerEditor/installer/APIs/c.xml b/PowerEditor/installer/APIs/c.xml index 948988475..c4c60fef9 100644 --- a/PowerEditor/installer/APIs/c.xml +++ b/PowerEditor/installer/APIs/c.xml @@ -1,4 +1,4 @@ - + diff --git a/PowerEditor/installer/APIs/cmake.xml b/PowerEditor/installer/APIs/cmake.xml index 99c4c4723..94ada7c69 100644 --- a/PowerEditor/installer/APIs/cmake.xml +++ b/PowerEditor/installer/APIs/cmake.xml @@ -1,4 +1,4 @@ - + diff --git a/PowerEditor/installer/APIs/cobol.xml b/PowerEditor/installer/APIs/cobol.xml index 735cf92b2..aaac18b20 100644 --- a/PowerEditor/installer/APIs/cobol.xml +++ b/PowerEditor/installer/APIs/cobol.xml @@ -1,4 +1,4 @@ - + diff --git a/PowerEditor/installer/APIs/coffee.xml b/PowerEditor/installer/APIs/coffee.xml index dc6636a74..1f8079412 100644 --- a/PowerEditor/installer/APIs/coffee.xml +++ b/PowerEditor/installer/APIs/coffee.xml @@ -1,4 +1,4 @@ - + diff --git a/PowerEditor/installer/APIs/cpp.xml b/PowerEditor/installer/APIs/cpp.xml index 8705e7fad..515025d58 100644 --- a/PowerEditor/installer/APIs/cpp.xml +++ b/PowerEditor/installer/APIs/cpp.xml @@ -1,4 +1,4 @@ - + diff --git a/PowerEditor/installer/APIs/cs.xml b/PowerEditor/installer/APIs/cs.xml index b65c0ff84..e2a941041 100644 --- a/PowerEditor/installer/APIs/cs.xml +++ b/PowerEditor/installer/APIs/cs.xml @@ -1,4 +1,4 @@ - + diff --git a/PowerEditor/installer/APIs/css.xml b/PowerEditor/installer/APIs/css.xml index 3699e8405..027b03aea 100644 --- a/PowerEditor/installer/APIs/css.xml +++ b/PowerEditor/installer/APIs/css.xml @@ -1,4 +1,4 @@ - + diff --git a/PowerEditor/installer/APIs/html.xml b/PowerEditor/installer/APIs/html.xml index 4b8d90057..bc9ac8ea8 100644 --- a/PowerEditor/installer/APIs/html.xml +++ b/PowerEditor/installer/APIs/html.xml @@ -1,4 +1,4 @@ - + diff --git a/PowerEditor/installer/APIs/java.xml b/PowerEditor/installer/APIs/java.xml index c1367186f..abc174a3e 100644 --- a/PowerEditor/installer/APIs/java.xml +++ b/PowerEditor/installer/APIs/java.xml @@ -1,4 +1,4 @@ - + diff --git a/PowerEditor/installer/APIs/javascript.xml b/PowerEditor/installer/APIs/javascript.xml index 2b90b8734..ade1643a8 100644 --- a/PowerEditor/installer/APIs/javascript.xml +++ b/PowerEditor/installer/APIs/javascript.xml @@ -1,4 +1,4 @@ - + diff --git a/PowerEditor/installer/APIs/lisp.xml b/PowerEditor/installer/APIs/lisp.xml index 0811c97c5..aa08b39cd 100644 --- a/PowerEditor/installer/APIs/lisp.xml +++ b/PowerEditor/installer/APIs/lisp.xml @@ -1,4 +1,4 @@ - + diff --git a/PowerEditor/installer/APIs/lua.xml b/PowerEditor/installer/APIs/lua.xml index 43d84d177..c18a34a4a 100644 --- a/PowerEditor/installer/APIs/lua.xml +++ b/PowerEditor/installer/APIs/lua.xml @@ -1,4 +1,4 @@ - + diff --git a/PowerEditor/installer/APIs/nsis.xml b/PowerEditor/installer/APIs/nsis.xml index 151745561..2e96ce251 100644 --- a/PowerEditor/installer/APIs/nsis.xml +++ b/PowerEditor/installer/APIs/nsis.xml @@ -1,4 +1,4 @@ - + diff --git a/PowerEditor/installer/APIs/perl.xml b/PowerEditor/installer/APIs/perl.xml index 1bc95b86d..a0422e52b 100644 --- a/PowerEditor/installer/APIs/perl.xml +++ b/PowerEditor/installer/APIs/perl.xml @@ -1,4 +1,4 @@ - + diff --git a/PowerEditor/installer/APIs/php.xml b/PowerEditor/installer/APIs/php.xml index 9bc8d6363..053f95ee3 100644 --- a/PowerEditor/installer/APIs/php.xml +++ b/PowerEditor/installer/APIs/php.xml @@ -1,4 +1,4 @@ - + diff --git a/PowerEditor/src/shortcuts.xml b/PowerEditor/src/shortcuts.xml index 47732e70b..152d4c938 100644 --- a/PowerEditor/src/shortcuts.xml +++ b/PowerEditor/src/shortcuts.xml @@ -1,3 +1,4 @@ + @@ -7,17 +8,6 @@ - https://www.php.net/$(CURRENT_WORD) https://en.wikipedia.org/wiki/Special:Search?search=$(CURRENT_WORD) $(NPP_FULL_FILE_PATH) $(CURRENT_WORD) -nosession -multiInst diff --git a/PowerEditor/src/stylers.model.xml b/PowerEditor/src/stylers.model.xml index b8d29fc75..d8038619f 100644 --- a/PowerEditor/src/stylers.model.xml +++ b/PowerEditor/src/stylers.model.xml @@ -1,4 +1,4 @@ - + diff --git a/PowerEditor/src/toolbarIcons.xml b/PowerEditor/src/toolbarIcons.xml index 1b3387ce1..d13f007d8 100644 --- a/PowerEditor/src/toolbarIcons.xml +++ b/PowerEditor/src/toolbarIcons.xml @@ -1,4 +1,4 @@ - + diff --git a/PowerEditor/src/userDefineLang.xml b/PowerEditor/src/userDefineLang.xml index d9dbac648..271686c58 100644 --- a/PowerEditor/src/userDefineLang.xml +++ b/PowerEditor/src/userDefineLang.xml @@ -1,4 +1,4 @@ - +