List Info

Thread: note 78503 added to function.htmlentities




note 78503 added to function.htmlentities
user name
2007-10-15 09:21:37
I just thought I would add that if you're using the default
charset, htmlentities will not correctly return the
trademark ( ™ ) sign.

Instead it will return something like this: �

If you need the trademark symbol, use:

htmlentities( $html, ENT_QUOTES, "UTF-8" );
----
Server IP: 208.69.120.35
Probable Submitter: 67.185.220.17
----
Manual Page -- http://www.php.net/manual/en/function.htmlentities.php

Edit        -- https://master
.php.net/note/edit/78503
Del: integrated  -- h
ttps://master.php.net/note/delete/78503/integrated
Del: useless     -- http
s://master.php.net/note/delete/78503/useless
Del: bad code    -- htt
ps://master.php.net/note/delete/78503/bad+code
Del: spam        -- https:/
/master.php.net/note/delete/78503/spam
Del: non-english -- 
https://master.php.net/note/delete/78503/non-english
Del: in docs     -- http
s://master.php.net/note/delete/78503/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/78503
Reject      -- https://mast
er.php.net/note/reject/78503
Search      -- https://
master.php.net/manage/user-notes.php

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )