Project

General

Profile

Actions

Feature #292

open

nothrow container.String

Added by Eugen Wissner 11 months ago. Updated 10 months ago.

Status:
New
Priority:
Normal
% Done:

0%


Description

Alternative solution to exceptions is to replace the invalid character sequences with the replacement character U+FFFD.

If a char or char range is inserted, they can be just inserted without any parsing. If the user wants to check whether the string contains valid UTF-8, he can call String.validate.
If parsing is required (dchar, wchar) then noncharacters can be replaced with U+FFFD.

Actions #1

Updated by Anonymous 10 months ago

The second part (with the replacement character) still can be fixed.

Actions #2

Updated by Eugen Wissner 10 months ago

  • Description updated (diff)
Actions

Also available in: Atom PDF