[Sync-En] htmlspecialchars: add the ENT_IGNORE/ENT_SUBSTITUTE example with invalid UTF-8 bytes - #1282
Open
lacatoire wants to merge 1 commit into
Open
[Sync-En] htmlspecialchars: add the ENT_IGNORE/ENT_SUBSTITUTE example with invalid UTF-8 bytes#1282lacatoire wants to merge 1 commit into
lacatoire wants to merge 1 commit into
Conversation
… with invalid UTF-8 bytes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Translation of php/doc-en#5841 (commit a9d052e): adds the second example contrasting
ENT_IGNOREandENT_SUBSTITUTEon an invalid UTF-8 byte. Output checked against PHP 8.5. EN-Revision updated.Fixed a few wrong sentences in the same file along the way: "(as numeric or named entities)" had become "(como numéricos o entidades nombradas)", "may be insufficient" had lost its modality, and "invalid code points for the given document type" had dropped the document type.
Fixes: #1273