Skip to content

PHP 5.4: new NewHTMLEntitiesEncodingDefault sniff#862

Merged
wimg merged 1 commit intomasterfrom
php-5.4/new-htmlentities-encoding-default-sniff
Aug 28, 2019
Merged

PHP 5.4: new NewHTMLEntitiesEncodingDefault sniff#862
wimg merged 1 commit intomasterfrom
php-5.4/new-htmlentities-encoding-default-sniff

Conversation

@jrfnl
Copy link
Copy Markdown
Member

@jrfnl jrfnl commented Aug 19, 2019

The default character set for htmlspecialchars() and htmlentities() is now UTF-8, instead of ISO-8859-1.

Note: The new sniff will only throw an error when the testVersion indicates that both PHP < 5.4 as well as PHP 5.4+ need to be supported.

Refs:

Related to #839

@jrfnl jrfnl added this to the 9.3.0 milestone Aug 19, 2019
@jrfnl jrfnl requested a review from wimg August 19, 2019 03:27
@jrfnl jrfnl force-pushed the php-5.4/new-htmlentities-encoding-default-sniff branch 2 times, most recently from 56a5925 to ee06659 Compare August 19, 2019 18:32
@jrfnl jrfnl force-pushed the php-5.4/new-htmlentities-encoding-default-sniff branch from ee06659 to a0f0673 Compare August 21, 2019 05:04
@wimg wimg merged commit 3bacb7c into master Aug 28, 2019
@delete-merged-branch delete-merged-branch bot deleted the php-5.4/new-htmlentities-encoding-default-sniff branch August 28, 2019 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants