Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upConfusing wording in String.prototype.toLowerCase() #254
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
@allenwb do you know any relevant history here? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
caridy
Dec 16, 2015
Contributor
@bterlson this seems to be the case for 402 as well. I don't know the history, but I'm growing fond to the idea of delegating more and more to Unicode Algos. I have two long debates today about this with @littledan and @srl295.
|
@bterlson this seems to be the case for 402 as well. I don't know the history, but I'm growing fond to the idea of delegating more and more to Unicode Algos. I have two long debates today about this with @littledan and @srl295. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
srl295
Dec 16, 2015
Member
Yes, I would support specifying the algorithms in reference to Unicode (not ICU), such as "R1 toUppercase(X)" in the PDF linked by @littledan
|
Yes, I would support specifying the algorithms in reference to Unicode (not ICU), such as "R1 toUppercase(X)" in the PDF linked by @littledan |
bterlson
added
the
editorial change
label
Feb 18, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Fixed in #932 |
littledan commentedDec 15, 2015
http://tc39.github.io/ecma262/#sec-string.prototype.tolowercase
A later note clarifies that this is supposed to take SpecialCasing.txt into account, which includes context-sensitive mappings (like Final_Sigma). test262 tests like built-ins/String/prototype/toLocaleLowerCase/special_casing_conditional test for the correct context-sensitive behavior. Why is this written in terms of a character-by-character mapping, rather than just deferring entirely to the Unicode Default Case Algorithms (see page 152 of http://www.unicode.org/versions/Unicode8.0.0/ch03.pdf)?
@caridy