PHP

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • htmlentities() with utf8

    0 answers - 487 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    5/4/06, Marten Lehmann <lehmann (AT) cnm (DOT) dewrote:
    Hello,
    I want to use htmlentities() with UTF-8, which I can set with the third
    parameter. But to use the third parameter, I have to provide the second
    parameter. Currently the default for the second parameter is ENT_CMPAT.
    But as this might change, I don't want to call htmlentities with
    htmlentities($text, ENT_CMPAT, "UTF-8");
    all the time. Is there another way?
    Regards
    Marten

Re: htmlentities() with utf8


max 4000 letters.
Your nickname that display:
In order to stop the spam: 9 + 8 =
QUESTION ON "PHP"

EMSDN.COM