Skip to content

Implement toLowerCase and toUpperCase #323

Closed
@zherczeg

Description

@zherczeg

String manipulation functions and regular expressions require lowercase/uppercase conversion. See

http://www.ecma-international.org/ecma-262/5.1/#sec-15.5.4.16

To implement them, we need some utilities in the core.

  1. We need a variant, which converts a character to its uppercase described in (starting from Canonicalize part)
    http://www.ecma-international.org/ecma-262/5.1/#sec-15.10.2.8

  2. We also need variants, which converts characters to 1 or more upper/lowercase characters. E.g. the uppercase form of german sharp s is SS. This is needed for String.prototype.toUpperCase String.prototype.toLowerCase.

  3. Fortunately LocaleCompare is platform dependent.

Could you raise the priority of implementing these functions in the core?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions