ccmake clears cache strings with non-ASCII characters
A string can contain non-ASCII characters with CMake, at least everything seems to work as intended.
$ grep QCMaquis_NAME: CMakeCache.txt
QCMaquis_NAME:STRING=John Doë
$ cmake .
...
$ grep QCMaquis_NAME: CMakeCache.txt
QCMaquis_NAME:STRING=John Doë
(utf-8 encoding, if it matters)
But just running ccmake clears the string with no warning:
$ grep QCMaquis_NAME: CMakeCache.txt
QCMaquis_NAME:STRING=John Doë
$ ccmake . # and press "q"
$ grep QCMaquis_NAME: CMakeCache.txt
QCMaquis_NAME:STRING=
It is also impossible to enter or paste the non-ASCII character in ccmake.
Edited by Jellby