archives

« Bugzilla Issues Index

#573 — Locale sensitive case conversion


The internationalization API should provide support for locale sensitive case conversion. The existing ES5 methods String.prototype.toLocaleLowerCase and String.prototype.toLocaleUpperCase should be re-specified based on the new API.

One issue is that the specifications of the two ES5 methods seem to allow only for the locale sensitive mappings in the Unicode character database, while in reality some languages have additional locale specific variants (e.g., Canadian French é -> E).


Item 3 (string transformations) on our meeting agenda.

Takeaway:

Normalization implemented in core language. Upper/lower casing done in core with additional language tag, case folding not important.


The 2013-02-28 draft has respecifications for String.prototype.toLocaleLowerCase and String.prototype.toLocaleUpperCase.