开发者

Does Ecma-334 have an incorrect description for next line (C# ECMA Standard)?

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.


Yes, that appears to be an error in the standard.

The Microsoft C# language specification (the version shipped with VS2010) has the correct item:

Next line character (U+0085)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜