Skip to content

[Sync-En] htmlspecialchars: add the ENT_IGNORE/ENT_SUBSTITUTE example with invalid UTF-8 bytes - #1282

Open
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:sync-en/1273-htmlspecialchars
Open

[Sync-En] htmlspecialchars: add the ENT_IGNORE/ENT_SUBSTITUTE example with invalid UTF-8 bytes#1282
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:sync-en/1273-htmlspecialchars

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Translation of php/doc-en#5841 (commit a9d052e): adds the second example contrasting ENT_IGNORE and ENT_SUBSTITUTE on 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

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.

[Sync EN] docs(htmlspecialchars): add ENT_SUBSTITUTE example with invalid UTF-8 bytes (#5841)

1 participant