Encoding issues in cmake files
aleixpol at kde.org
Thu Feb 7 15:27:29 UTC 2013
On Thu, Feb 7, 2013 at 3:30 PM, Andreas Pakulat <apaku at gmx.de> wrote:
> 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.
> KDevelop-devel mailing list
> KDevelop-devel at kde.org
Well, it will be broken either way, because we're assuming latin1 anyway.
Right now, locally it works the same way at least in my system, so it maps
better how cmake works.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KDevelop-devel