KDE's text editor, Kate, has built-in functions to save the text file in Windows format. To do this, open your text file in Kate, go to Tools → End of Line → Windows/DOS. Kate will automatically change all the line breaks and you will be able to save your file in a Windows-proof format.
If you are carrying text files between Linux and Windows computers frequently, then doing the above may not be your perfect solution. In this case, I recommend telling Kate to save the line breaks as Windows/DOS compliant for every file. Go to Settings → Configure Kate and on the left pane under the “Editor Component” part select “Open/Save” option. In the right pane, select “DOS/Windows” as the “End of Line” and un-tick the “Automatic end of line detection.” Click “Apply” and then “OK” to exit.
If you are using Gnome or any other window manager, you can use Kate without any problems.