行尾的区别适用于html表单吗? [英] Do line endings distinctions apply for html forms?
本文介绍了行尾的区别适用于html表单吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我知道,用于文件的行尾会因操作系统而异.我想知道,如果用户将文本粘贴到诸如textarea之类的http表单输入中,发送内容的行尾字符是否以同样的方式取决于操作系统?
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?
推荐答案
否,浏览器应规范化行尾.
No, the browser should canonicalize the line endings.
这篇关于行尾的区别适用于html表单吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文