U++ Forum - RDF feed
https://www.ultimatepp.org/forums/
I have problems with UNIX vs DOS line endings.
https://www.ultimatepp.org/forums/index.php?t=rview&goto=22949&th=4613#msg_22949
While this doesn't pose any problem to the file usage, it confuses KSVN (SVN GUI I use in Kubuntu). I would prefer TheIDE to read the newline type from opened file, and stick to it (unless it has mixed line-endings, then it's IMHO fine to automatically convert it to current native one.
It's just very minor annoyance, because I can use unix2dos and dos2unix to convert it back, but still having this "fixed" would save me couple of seconds daily.]]>mr_ped2009-09-02T07:04:07-00:00Re: I have problems with UNIX vs DOS line endings.
https://www.ultimatepp.org/forums/index.php?t=rview&goto=22951&th=4613#msg_22951
I use almost daily in parallel the same packages in Ubuntu (Gnome) and in WinXP, always UTF8 encoded, and I have no problems with line endings.
Going to the extreme: I have compiled under WinXP the same package at the same time in Portable Ubuntu (GNU/Linux Ubuntu 8.04 emulator) and in WinXP () without any problem.
Best regards
Koldo ]]>koldo2009-09-02T11:04:39-00:00Re: I have problems with UNIX vs DOS line endings.
https://www.ultimatepp.org/forums/index.php?t=rview&goto=22952&th=4613#msg_22952
The problem is the the file gets converted when I edit it.
I.e. I take test.php with 2 lines from DOS with DOS-like "\r\n", write third line under linux, and the line endings in whole get converted to UNIX-like "\n".
Actually I do think the SVN itself does not care about that (but I didn't check manual), but the KSVN shows me the files as different.]]>mr_ped2009-09-02T11:13:44-00:00Re: I have problems with UNIX vs DOS line endings.
https://www.ultimatepp.org/forums/index.php?t=rview&goto=22953&th=4613#msg_22953
SVN itself does not know about the meaning of line endings, but of course it cares about file differences (which it should I suppose).
I also have the same problem as Ped when working with version control. If I modify a checked out file that has DOS line endings in Unix with TheIDE all line endings are converted to Unix line endings. As a consequence when I make a diff of my modified version and the original one, all lines are marked modified which is not practical since I only want to see (and also check in my modifications).