From ed5ec5f524be46c3b511c01aeb55918d8e1c70f2 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Mon, 12 Aug 2013 19:31:45 -0400 Subject: [PATCH] zephyr-post-receive: Set UTF-8 locale MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The hook script isn’t always run in a fully initialized environment; this makes sure the outgoing zephyr gets marked with the right charset. Signed-off-by: Anders Kaseorg --- git-hooks/zephyr-post-receive | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git-hooks/zephyr-post-receive b/git-hooks/zephyr-post-receive index 6feebad..595234c 100755 --- a/git-hooks/zephyr-post-receive +++ b/git-hooks/zephyr-post-receive @@ -7,6 +7,8 @@ # For example: # aa453216d1b3e49e7f6f98441fa56946ddcd6a20 68f7abf4e6f922807889f52bc043ecd31b79f814 refs/heads/master +export LC_ALL=en_US.UTF-8 + class=`git config zephyr.class` instance=`git config zephyr.instance` zsig=`git config zephyr.zsig` -- 2.45.0