My first question:
How can I tell a web file's code format's line break type?
Is it LF(unix) or is it CR LF (windows)?
My second question:
I have been using LF(unix) code format all the time, and the hosting is unix too. But my clients may have used CR LF(windows) to update some content.
So right now, I don't know in thousands files of the web site. which file is LF(unix) which is CR LF (windows).
Are there any ways to clean this mess up? Like run some command on the unix hosting copy and cover all the file code format to LF(unix)?
By the way, line break type CR LF (windows) file is not an ASCII file right, if they use old ftp and download the CR LF (windows) file in ASCII format, they will have problems? like empty line added etc., right?