stdlib icon indicating copy to clipboard operation
stdlib copied to clipboard

[RFC]: add `@stdlib/string/to-well-formed`

Open kgryte opened this issue 2 years ago • 0 comments

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:.

kgryte avatar Jul 20 '23 21:07 kgryte