View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011223CMakeCMakepublic2010-09-13 08:322015-04-06 09:07
ReporterThomasZymara 
Assigned ToClinton Stimpson 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionFixed in Version 
Summary0011223: CMake has problems with german-umlauts in paths with Visual-Studio-2010
DescriptionIs there f.e. an include-pfad with a german umlaut, the generated project-file for Visual Studio 2010 is corrupted, cause the german-umlaut is just some unreadable character.

Visual Studio 2010 is then unable to load the project-file.
Additional InformationSystem:
Windows XP SP3, Visual Studio 2010 Premium,
CMake 2.8.2 (installed by Windows binaries)
TagsNo tags attached.
Attached Filespng file icon CorruptHeaderNameInProject.PNG [^] (6,454 bytes) 2011-03-14 07:22


png file icon CorruptProjectPaths.PNG [^] (8,295 bytes) 2011-03-14 07:22


zip file icon CMakeBugTestProject.zip [^] (53,278 bytes) 2011-03-14 07:23
png file icon CorrectPaths.PNG [^] (2,001 bytes) 2011-03-14 07:24

 Relationships

  Notes
(0024795)
David Cole (manager)
2011-01-17 14:52

Can you check to see if this is still a problem with the CMake 2.8.4-rc1 release? If so, can you copy/paste the exact path name that it has a problem with, and attached a generated *.sln / *.vcxproj file that is "corrupt"?

Thanks.
(0025770)
ThomasZymara (reporter)
2011-03-14 06:54

Checked in v2.8.4 Release:

This is still a problem

Instead of the German Umlaut (äöü) in a path there is a crypted character, so compiling the solution is not possible
(0025782)
ThomasZymara (reporter)
2011-03-15 07:39

Solution:

You must change XML-encoding from utf-8 to iso-8859-1, then this bug is fixed;

cmLocalVisualStudio10Generator.cxx (line: 55)
          XML_SetEncoding(static_cast<XML_Parser>(this->Parser), "utf-8")
          XML_SetEncoding(static_cast<XML_Parser>(this->Parser), "iso-8859-1");

cmVisualStudio10TargetGenerator.cxx (line: 170, 501)
         (...)
(0035637)
Clinton Stimpson (developer)
2014-04-04 09:54

Can you compile CMake yourself and turn on the switch
CMAKE_ENCODING_UTF8:BOOL=ON
to see if this problem is fixed?
(0037170)
Clinton Stimpson (developer)
2014-11-10 23:42

This was fixed in CMake 3.0.
(0038440)
Robert Maynard (manager)
2015-04-06 09:07

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

 Issue History
Date Modified Username Field Change
2010-09-13 08:32 ThomasZymara New Issue
2011-01-17 14:51 David Cole Assigned To => David Cole
2011-01-17 14:51 David Cole Status new => assigned
2011-01-17 14:52 David Cole Note Added: 0024795
2011-03-14 06:54 ThomasZymara Note Added: 0025770
2011-03-14 07:22 ThomasZymara File Added: CorruptHeaderNameInProject.PNG
2011-03-14 07:22 ThomasZymara File Added: CorruptProjectPaths.PNG
2011-03-14 07:23 ThomasZymara File Added: CMakeBugTestProject.zip
2011-03-14 07:24 ThomasZymara File Added: CorrectPaths.PNG
2011-03-15 07:39 ThomasZymara Note Added: 0025782
2011-10-26 00:00 David Cole Assigned To David Cole =>
2011-10-26 00:00 David Cole Status assigned => backlog
2014-04-04 09:54 Clinton Stimpson Note Added: 0035637
2014-11-10 23:42 Clinton Stimpson Assigned To => Clinton Stimpson
2014-11-10 23:42 Clinton Stimpson Status backlog => assigned
2014-11-10 23:42 Clinton Stimpson Note Added: 0037170
2014-11-10 23:42 Clinton Stimpson Status assigned => resolved
2014-11-10 23:42 Clinton Stimpson Resolution open => fixed
2015-04-06 09:07 Robert Maynard Note Added: 0038440
2015-04-06 09:07 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team