Hi,
Is there a way to preserve the line endings of edited files?
I just switched from Windows to Linux and now Lazarus converts all files
my files from crlf to lf which makes it difficult to commit them to
the version control system. (and Mercurial is even worse than svn)
There was a post three years ago on the mailing list that it isn't possible,
but perhaps this changed.



And another problem I had and want to comment about (although I solved it
already) are the AnsiToUtf8/Utf8ToAnsi-functions.
I used them to convert between between latin1 and utf-8, and even if that
is wrong, i think, many people do that, since there is nowhere a warning that
they behave differently on Linux/Windows/Linux with cwstring.
It is very confusing, that these functions can suddently change their behaviour if you only include the translations-unit somewhere, and it is surely not "write
once, run everywhere"...


Benito van der Zander



--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to