On Thu, Feb 7, 2013 at 3:30 PM, Andreas Pakulat <span dir="ltr"><<a href="mailto:apaku@gmx.de" target="_blank">apaku@gmx.de</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi,<br>
<br>
just happened to see<br>
<a href="http://quickgit.kde.org/?p=kdevelop.git&a=commit&h=15bee005db20b380c0b4335d03afb0f17a4e750c" target="_blank">http://quickgit.kde.org/?p=kdevelop.git&a=commit&h=15bee005db20b380c0b4335d03afb0f17a4e750c</a><br>


on irc and I think the fix is wrong. CMake files do not have an<br>
encoding specification, so either cmake dictates an encoding in its<br>
documentation (or its own parser) or it does not. In the latter case a<br>
user needs to be able to decide which encoding to use for parsing<br>
cmake files, just using his local 8 bit encoding can be wrong as well.<br>
In particular for utf16 files or for people regularly working with two<br>
different encoding (thats the case a lot in asia). It also can already<br>
break on windows with utf-8 encoded cmake files, since the local 8 bit<br>
encoding there is latin1.<br>
<br>
Andreas<br>
_______________________________________________<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kde.org">KDevelop-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kdevelop-devel" target="_blank">https://mail.kde.org/mailman/listinfo/kdevelop-devel</a><br>
</blockquote></div><br><div>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.</div><div><br></div>

<div>Aleix</div>