From c92b96234acfe142df88cd1ba5815373721d5c22 Mon Sep 17 00:00:00 2001 From: Johnny Jazeix Date: Mon, 19 Oct 2020 19:53:56 +0200 Subject: CPack/NSIS: Template file in UTF-8 BOM to support Unicode Fixes: #21318 --- Help/release/dev/cpack-nsis-utf-8-bom.rst | 6 ++++++ Modules/Internal/CPack/NSIS.template.in | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 Help/release/dev/cpack-nsis-utf-8-bom.rst diff --git a/Help/release/dev/cpack-nsis-utf-8-bom.rst b/Help/release/dev/cpack-nsis-utf-8-bom.rst new file mode 100644 index 0000000..b2a20ce --- /dev/null +++ b/Help/release/dev/cpack-nsis-utf-8-bom.rst @@ -0,0 +1,6 @@ +cpack-nsis-utf8-bom +------------------- + +* The :cpack_gen:`CPack NSIS Generator` now handles correctly Unicode characters. + If you want to have a ``CPACK_RESOURCE_FILE_LICENSE`` with UTF-8 characters + it needs to be encoded in UTF-8 BOM. diff --git a/Modules/Internal/CPack/NSIS.template.in b/Modules/Internal/CPack/NSIS.template.in index 6009ce0..b448c76 100644 --- a/Modules/Internal/CPack/NSIS.template.in +++ b/Modules/Internal/CPack/NSIS.template.in @@ -1,4 +1,4 @@ -; CPack install script designed for a nmake build +; CPack install script designed for a nmake build ;-------------------------------- ; You must define these values -- cgit v0.12