summaryrefslogtreecommitdiffstats
path: root/Source/cm_codecvt.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-05-06 14:12:50 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-05-06 14:13:11 (GMT)
commite0b4a22ca6874a15912eea86cde16f47cb5f9d93 (patch)
tree4dc101c0e51a28eaae670e147ad5c80a4320e229 /Source/cm_codecvt.cxx
parent6785df1b0623d112d3d4acd1ed1cad20032adf64 (diff)
parentf3f57cc4edd528aaf0b8d8633d5f9990f0d804af (diff)
downloadCMake-e0b4a22ca6874a15912eea86cde16f47cb5f9d93.zip
CMake-e0b4a22ca6874a15912eea86cde16f47cb5f9d93.tar.gz
CMake-e0b4a22ca6874a15912eea86cde16f47cb5f9d93.tar.bz2
Merge topic 'nmake-utf8'
f3f57cc4ed NMake: Use UTF-8 with BOM if supported by nmake 186c9bff53 NMake: Check nmake version for support of UTF-8 8a4f536be6 NMake: Detect nmake version Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6041
Diffstat (limited to 'Source/cm_codecvt.cxx')
-rw-r--r--Source/cm_codecvt.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cm_codecvt.cxx b/Source/cm_codecvt.cxx
index 15f83e0..216d3f0 100644
--- a/Source/cm_codecvt.cxx
+++ b/Source/cm_codecvt.cxx
@@ -31,6 +31,7 @@ codecvt::codecvt(Encoding e)
// We don't know which ANSI encoding to use for other platforms than
// Windows so we don't do any conversion there
case codecvt::UTF8:
+ case codecvt::UTF8_WITH_BOM:
// Assume internal encoding is UTF-8
case codecvt::None:
// No encoding