View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013880CMakeCMakepublic2013-01-25 14:402015-06-01 08:38
ReporterDavid Rosen 
Assigned ToClinton Stimpson 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformPCOSWindowsOS Version7
Product VersionCMake 2.8.10.2 
Target VersionFixed in VersionCMake 3.2 
Summary0013880: CMake GUI browser cannot handle Unicode paths
DescriptionThe CMake GUI browser fails to interpret or preserve file paths that contain unicode characters on Windows.
Steps To ReproduceOpen the CMake GUI and choose "Browse Source..." and select a directory that contains unicode characters, such as "TestWXY►ΦΦΘΩδ▲ ↔". It will appear in the text field as "TestWXY?FFTOd? ?", and it will be unable to read or write files from that folder.
Additional InformationPerhaps it is assuming that the C standard library functions use UTF-8, when they really only support ASCII or UTF-16.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0032168)
David Rosen (reporter)
2013-01-26 01:34

Upon further investigation it appears that the problem occurs using the command-line interface as well.
(0035683)
don bright (reporter)
2014-04-13 08:09

Confirmed on Windows 7.

How to reproduce.

Find a simple CMake project, like https://github.com/jameskbride/cmake-hello-world [^] and clone or copy it under a directory named

      c:\temp\ффф\helloworld

Now try to use that directory as the Source directory in the Cmake GUI. It will display an error message.

Now, go to start, type cmd to open a console, then

      cd c:\temp\ффф\helloworld
      cmake .

An error will be produced

      the source directory" c:\temp\???\helloworld does not exist
(0037718)
Clinton Stimpson (developer)
2015-01-16 10:14

Fixed by switching to utf-8 internally.
http://www.cmake.org/gitweb?p=cmake.git;a=commit;h=cdc29c3 [^]
(0038844)
Robert Maynard (manager)
2015-06-01 08:38

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

 Issue History
Date Modified Username Field Change
2013-01-25 14:40 David Rosen New Issue
2013-01-26 01:34 David Rosen Note Added: 0032168
2014-04-13 08:09 don bright Note Added: 0035683
2015-01-16 10:14 Clinton Stimpson Assigned To => Clinton Stimpson
2015-01-16 10:14 Clinton Stimpson Status new => assigned
2015-01-16 10:14 Clinton Stimpson Note Added: 0037718
2015-01-16 10:14 Clinton Stimpson Status assigned => resolved
2015-01-16 10:14 Clinton Stimpson Fixed in Version => CMake 3.2
2015-01-16 10:14 Clinton Stimpson Resolution open => fixed
2015-06-01 08:38 Robert Maynard Note Added: 0038844
2015-06-01 08:38 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team