special characters to html entity using php
Posted
by text
on Stack Overflow
See other posts from Stack Overflow
or by text
Published on 2010-04-27T08:41:33Z
Indexed on
2010/04/27
8:43 UTC
Read the original article
Hit count: 212
I want to convert special characters like ñ, Ñ to htmlentities using php.
I tried using htmlentities, but instead of returning "ñ" for its value it returns "ñ" as its value.
© Stack Overflow or respective owner