View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015418CMakeCMakepublic2015-02-25 09:382015-11-02 09:13
Reporterrhabarbersaft 
Assigned ToBrad King 
PriorityhighSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
Platformx86OSWindows 7OS Version
Product Version 
Target VersionCMake 3.2Fixed in VersionCMake 3.2 
Summary0015418: Wrong encoding for generated .sln
DescriptionWhen generating Visual Studio 2008 projects using CMake 3.2.0-rc2, the generated solutions are UTF8-encoded.

This leads to Visual Studio not opening them anymore when double-clicking on the .sln file. Changing the encoding of the .sln file to ANSI resolves the problem.

The Visual Studio solutions should be generated using ANSI encoding to prevent this problem.
TagsNo tags attached.
Attached Files

 Relationships
has duplicate 0015440closed "Visual Studio Version Selector" launches incorrect version when opening generated UTF-8 solution file. 

  Notes
(0038064)
Brad King (manager)
2015-02-25 09:41

The problem is not the encoding but the byte order mark. This has been fixed:

 VS: Do not generate a BOM in .sln files
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=987d4a12 [^]
(0038066)
rhabarbersaft (reporter)
2015-02-25 10:13

Oh yes, removing the BOM only did the trick. Thanks a lot for the quick response!
(0038067)
Brad King (manager)
2015-02-25 10:16

Thanks for testing the release candidate so diligently!
(0039728)
Robert Maynard (manager)
2015-11-02 09:13

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2015-02-25 09:38 rhabarbersaft New Issue
2015-02-25 09:41 Brad King Note Added: 0038064
2015-02-25 09:41 Brad King Assigned To => Brad King
2015-02-25 09:41 Brad King Status new => resolved
2015-02-25 09:41 Brad King Resolution open => fixed
2015-02-25 09:41 Brad King Fixed in Version => CMake 3.2
2015-02-25 09:41 Brad King Target Version => CMake 3.2
2015-02-25 10:13 rhabarbersaft Note Added: 0038066
2015-02-25 10:16 Brad King Note Added: 0038067
2015-03-11 08:28 Brad King Relationship added has duplicate 0015440
2015-11-02 09:13 Robert Maynard Note Added: 0039728
2015-11-02 09:13 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team