LPS-47334 Support only correctly encoded characters in form %HH
LPS-47334 Ignore invalid parameters, don't let them abort page execution
LPS-47336 Skip the low surrogate char from checks, don't count it twice
LPS-47334 SF
LPS-47334 Test
LPS-47336 Test
LPS-47334 SF
LPS-47334 Sort