When opening a file containing U+2028 LINE SEPARATOR and saving it under another name, Kate turns each line separator into two plain ASCII newlines, even if the document wasn't modified. This is especially problematic with version control systems, see eg https://github.com/cms-gem-daq-project/gem-plotting-tools/pull/109#pullrequestreview-126431811 Thank you for maintaining such a great editor!
Can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I'm setting status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Created attachment 133303 [details] File with U+2028 Open in Kate, save as and diff the new file wrt the old one.
Created attachment 133304 [details] File saved by Kate
Still present in Kate 20.08.03 (Arch Linux, Qt 5.15.1, ktexteditor 5.75.0)
Thanks for the added information. Can confirm after saving the file is different.
I checked that and yes we convert that, like we convert other mixed line endings into the current 'normal one', too. I don't see that we want to change that, writing out files with mixed line endings is close to never a good idea. If one wants that, this is a new feature somebody will need to contribute, see https://kate-editor.org/post/2020/2020-07-18-contributing-via-gitlab-merge-requests/