« Bugzilla Issues Index

#409 — Add U+0085 to LineTerminator

From Markus Scherer's comments on Unicode support in ECMAScript
edition 4 (applicable to all editions from ES3 to ES6 draft 8):

Chapter 7.3 defines a small number of characters as LineTerminator characters.

Proposal: To add the ISO Control U+0085 Next Line (NEL) to the list of LineTerminator characters.

ECMAScript already lists several Unicode and ISO 6429 controls that are commonly used as line break characters, except for U+0085 Next Line. See <a href="">UAX #13: Unicode Newline Guidelines</a> and <a href="">XML 1.1</a>.

(The additional comment on StrWhiteSpaceChar has been addressed in ES5.)

NEL was originally going to be incorporated into ES5 and was included in draft specifications through June 2009. At the May 2009 TC39 meeting (see item 7.2) it was decided not incorporate it as a line terminator or whitespace character. That decision was based upon a es-discuss thread that starts at (<NEL> Considered Harmful.

Before adding it back into ES6 we would have to carefully reconsider the arguments that were made at that time and convince TC39 that they are no longer valid.

Thanks for the pointers – I wasn't aware of that older discussion, and agree with its conclusion.