From 40193b7a68071335948d975d851fc21b1e8e4cdf Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Sat, 4 Jan 2020 09:58:36 +0100 Subject: [PATCH] Re-add UTF-8 BOM where required When no UTF-16 or UTF-8 BOM is present, MSVC will read source files using current user charset. Signed-off-by: Simon Rozman --- include/Version.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/Version.h b/include/Version.h index fa0156d..a350cc3 100644 --- a/include/Version.h +++ b/include/Version.h @@ -1,4 +1,4 @@ -/* +/* Copyright 2015-2020 Amebis Copyright 2016 GÉANT @@ -21,6 +21,11 @@ /* NOTE: This file should not be UTF-16 encoded, as the build process uses grep.exe to extract version numbers. + + NOTE: When any of the strings contain non-ASCII characters, this + file should be UTF-8 encoded with BOM. Without BOM, MSVC will read + this file using the "Language for non-Unicode programs" charset + (aka ANSI CP). */ #pragma once