ascii code was not showing correctly in input type

How to process ASCII codes input fields ., in normal it was working correctly but it was not processing during server side validation ., i took steps as

given name Grégory Seamüs

1.meta tag with UTF support -given

2.sever side validation so i check database it also working correctly if i print same message in html

enter image description here

1 answer