From 58e3d4948de6308fa3c4a1b619792499cd3b9eba Mon Sep 17 00:00:00 2001 From: Clinton Stimpson Date: Wed, 13 Nov 2013 09:29:07 -0700 Subject: [PATCH] MSVC: Fix encoding of Visual Studio 10+ project files. Use Windows-1252, which is the same encoding as older Visual Studio project files. --- Source/cmVisualStudio10TargetGenerator.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index ab97b5eb3..ace1eef6d 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -219,7 +219,8 @@ void cmVisualStudio10TargetGenerator::Generate() //get the tools version to use const std::string toolsVer(this->GlobalGenerator->GetToolsVersion()); - std::string project_defaults="\n"; + std::string project_defaults= + "\n"; project_defaults.append("GlobalGenerator->GetToolsVersion()); - std::string project_defaults="\n"; + std::string project_defaults= + "\n"; project_defaults.append("