Skip to content

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

Closed
@kgryte

Description

@kgryte

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

  • I have read and understood the Code of Conduct.
  • Searched for existing issues and pull requests.
  • The issue name begins with RFC:.

Metadata

Metadata

Assignees

Labels

FeatureIssue or pull request for adding a new feature.Good First IssueA good first issue for new contributors!JavaScriptIssue involves or relates to JavaScript.Needs DiscussionNeeds further discussion.RFCRequest for comments. Feature requests and proposed changes.UtilitiesIssue or pull request concerning general utilities.difficulty: 2May require some initial design or R&D, but should be straightforward to resolve and/or implement.priority: LowLow priority concern or feature request.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions