Encoding issues in cmake files
apaku at gmx.de
Thu Feb 7 14:30:02 UTC 2013
just happened to see
on irc and I think the fix is wrong. CMake files do not have an
encoding specification, so either cmake dictates an encoding in its
documentation (or its own parser) or it does not. In the latter case a
user needs to be able to decide which encoding to use for parsing
cmake files, just using his local 8 bit encoding can be wrong as well.
In particular for utf16 files or for people regularly working with two
different encoding (thats the case a lot in asia). It also can already
break on windows with utf-8 encoded cmake files, since the local 8 bit
encoding there is latin1.
More information about the KDevelop-devel