Ecma-334 下一行的描述是否不正确(C# ECMA 标准)?
在 Ecma-334(C# 语言规范第 4 版)中,附件 A. 语法,第 A.1.1 节行终止符:
new-line::
Carriage return character (U+000D)
Line feed character (U+000A)
Carriage return character (U+000D) followed by line feed character (U+000A)
Next line character (U+2085)
Line separator character (U+2028)
Paragraph separator character (U+2029)
但 U+2085 不是下一行字符;它是订阅五
。
Ecma-334 对下一行的描述是否不正确?
http://www.ecma-international.org/publications/standards/Ecma -334.htm
http://www.fileformat.info/info/unicode/char/2085/index.htm
编辑:(U+0085) 是下一行字符。
In Ecma-334 (C# Language Specification 4th Edition), Annex A. Grammar, Section A.1.1 Line terminators:
new-line::
Carriage return character (U+000D)
Line feed character (U+000A)
Carriage return character (U+000D) followed by line feed character (U+000A)
Next line character (U+2085)
Line separator character (U+2028)
Paragraph separator character (U+2029)
But U+2085 is not the Next line character; it is SUBSCRIPT FIVE
.
Does Ecma-334 have an incorrect description for Next line?
http://www.ecma-international.org/publications/standards/Ecma-334.htm
http://www.fileformat.info/info/unicode/char/2085/index.htm
Edit: (U+0085) is the Next line character.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,这似乎是标准中的错误。
Microsoft C#语言规范(VS2010附带的版本)有正确的项目:
Yes, that appears to be an error in the standard.
The Microsoft C# language specification (the version shipped with VS2010) has the correct item: