I have a php variable which has its value set from an HTML form. The value of the variable is
$x = rueFrédéricMistral
As you may see it has a special alphabet (e_tilda) in it.
Now when I echo x, it gives me the following: rueFr�d�ricMistral
I am not sure how to echo the original name.
I tried the function htmlspecialchars()
but it didn't work.
On reading, what I understood that the function does not suit my case.
Can anyone help me on this please.
Thanks in advance. Neeraj