Skip to content

Add Intl.Collator and update String.localeCompare#2256

Merged
lahma merged 1 commit into
sebastienros:mainfrom
lahma:intl-pr4-collator
Jan 24, 2026
Merged

Add Intl.Collator and update String.localeCompare#2256
lahma merged 1 commit into
sebastienros:mainfrom
lahma:intl-pr4-collator

Conversation

@lahma

@lahma lahma commented Jan 24, 2026

Copy link
Copy Markdown
Collaborator

Implement locale-aware string comparison:

  • Intl.Collator with sensitivity and numeric options
  • String.prototype.localeCompare delegation to Collator
  • CompareInfo/CompareOptions caching for performance
  • Support for all collation options per ECMA-402

Implement locale-aware string comparison:
- Intl.Collator with sensitivity and numeric options
- String.prototype.localeCompare delegation to Collator
- CompareInfo/CompareOptions caching for performance
- Support for all collation options per ECMA-402

Register Collator in IntlInstance.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@lahma
lahma merged commit fd5e51d into sebastienros:main Jan 24, 2026
7 of 8 checks passed
@lahma
lahma deleted the intl-pr4-collator branch January 24, 2026 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant