Skip to content

Replace String.fromUtf8Unchecked with String.fromUtf8? #1462

Open
@Kha

Description

@Kha

Unlike String.fromUtf8Unchecked, this one should check for valid UTF-8. In fact, since we have to decode the string anyway to figure out its character length, we might as well remove the former function.

Metadata

Metadata

Assignees

Labels

P-lowWe are not planning to work on this issueenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions