MantisBT - CMake
View Issue Details
0014977CMakeCMakepublic2014-06-17 03:332016-06-10 14:31
V字龍(Vdragon) 
Kitware Robot 
normalminoralways
closedmoved 
x86 64-bitWindows8.1
CMake 2.8.12.2 
 
0014977: CMake output garbled non-ASCII message()s when CMakeLists.txt is saved in UTF-8 encoding
CMake should handle Unicode CMakeLists.txt properly.
1. $ git clone "https://github.com/Vdragon/Vdragons_C_CPP_Libraries_Collection.git" [^]
2. $ cd Vdragons_C_CPP_Libraries_Collection/Buildsystem_CMake
3. $ cmake ..
4. Read the output message
encoding, Unicode, UTF-8
Issue History
2014-06-17 03:33V字龍(Vdragon)New Issue
2014-06-17 04:03V字龍(Vdragon)Note Added: 0036209
2014-06-17 06:41V字龍(Vdragon)Note Added: 0036211
2014-06-17 06:41V字龍(Vdragon)Note Deleted: 0036211
2014-06-17 06:42V字龍(Vdragon)Note Edited: 0036209bug_revision_view_page.php?bugnote_id=36209#r1493
2014-06-17 06:42V字龍(Vdragon)Tag Attached: Unicode
2014-06-17 06:42V字龍(Vdragon)Tag Attached: encoding
2014-06-17 06:42V字龍(Vdragon)Tag Attached: UTF-8
2014-06-17 10:16Clinton StimpsonNote Added: 0036213
2014-06-18 04:32V字龍(Vdragon)Note Edited: 0036209bug_revision_view_page.php?bugnote_id=36209#r1494
2016-06-10 14:29Kitware RobotNote Added: 0042568
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0036209)
V字龍(Vdragon)   
2014-06-17 04:03   
(edited on: 2014-06-18 04:32)
I just moved my repo to https://github.com/Vdragon/Vdragon_s_C_CPP_Libraries.git [^] , please use this if the 1. 's command failed

(0036213)
Clinton Stimpson   
2014-06-17 10:16   
Can you attach the output you are getting?
What is your language setting in windows?

cmake-gui should give better output than the windows console for non-ascii strings.

Experimental support for utf-8 can be enabled if you build cmake yourself with the cmake option CMAKE_ENCODING_UTF8 on. UTF-8 encoded CMakeLists.txt files work with that. Can you test that and report any remaining bugs you encounter?
(0042568)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.