问题
I know that the line endings used for files vary depending on the OS. I was wondering, if a user pastes text into a http form input such as a textarea, does the line ending character(s) for what gets sent depend on the OS in the same way?
回答1:
No, the browser should canonicalize the line endings.
来源:https://stackoverflow.com/questions/760282/do-line-endings-distinctions-apply-for-html-forms