Handle invalid code sequences in Html::encode()
Changelog update
Merge pull request #3518 from DaSourcerer/invalid-chars-in-htmlspecialchars-handling

Handle invalid code sequences in Html::encode()