Skip to content

Added invalid option to getStringFromCodePoints - #12

Merged
sorinsarca merged 1 commit into
masterfrom
invalid-cp
Nov 24, 2026
Merged

sorinsarca merged 1 commit into
masterfrom
invalid-cp

Conversation

@sorinsarca

Copy link
Copy Markdown
Member

Added parameter $invalid to UnicodeString::getStringFromCodePoints:

  • UnicodeString::INVALID_IGNORE - ignores invalid code points (default, backward compatibility)
  • UnicodeString::INVALID_SUBSTITUTE - replaces invalid code points with U+FFFD
  • UnicodeString::INVALID_THROW - throws InvalidCodePointException when an invalid code point is found

@sorinsarca
sorinsarca merged commit 56523d2 into master Nov 24, 2026
16 checks passed
@sorinsarca
sorinsarca deleted the invalid-cp branch November 24, 2026 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant