From d29c70a14c67df9addb0f5bb070410f71c19cd0f Mon Sep 17 00:00:00 2001
From: Christophe Monniez <moc@odoo.com>
Date: Mon, 1 Feb 2021 14:03:00 +0000
Subject: [PATCH] [FIX] packaging: add a bom to nsi script
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

When using the windows installer in French language, the `Hôte` label
used to configure postgresql server does not display correctly.

The LangString documentation does not specify how to use the special
characters but after some tests, specifying a BOM for the nsi file seems
to be the way to go.

closes odoo/odoo#65365

X-original-commit: 3d0871d1d5895f0f04175f2633344f2f1b05a081
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
---
 setup/win32/setup.nsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 mode change 100755 => 100644 setup/win32/setup.nsi

diff --git a/setup/win32/setup.nsi b/setup/win32/setup.nsi
old mode 100755
new mode 100644
index 80782535dff6..0c9d13daacf1
--- a/setup/win32/setup.nsi
+++ b/setup/win32/setup.nsi
@@ -1,4 +1,4 @@
-# Part of Odoo. See LICENSE file for full copyright and licensing details.
+# Part of Odoo. See LICENSE file for full copyright and licensing details.
 
 # TODO: Avoid to uninstall the database
 # TODO: We can update the server or the clients without to uninstall the all-in-one
-- 
GitLab