Greetings all
Does PHP have a function to test if a character is UTF8?
I have a form and a user enters some text. I have no idea what character set the user is using, so on my end I wish to test the characters entered to see if they are or are not UTF8.
My page is using:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
My form is using:
<form ... accept-charset="utf-8">
Yet still some people are entering characters that are giving me grief. One example is a zip code that has a lowercase a with a carrot above it. If it will show in this post it is this: ( 10010รข ).
Entity number: â
Entity name: â
Thanks,