stdlib
stdlib copied to clipboard
[RFC]: add `@stdlib/string/to-well-formed`
Description
This RFC proposes adding support for replacing lone surrogates in a provided string in order to create a string which is "well-formed".
This is a functional API analog of the recently standardized String.prototype.toWellFormed.
Package: @stdlib/string/to-well-formed
alias: str2wellformed
Related Issues
None.
Questions
No.
Other
Resources:
Checklist
- [X] I have read and understood the Code of Conduct.
- [X] Searched for existing issues and pull requests.
- [X] The issue name begins with
RFC:.