Descripción
string
htmlentities
( string cadena)
Esta
función
es
del
todo
idéntica
a
htmlspecialchars(
)
,
excepto
que
traduce
todos
los
caracteres
que
tienen
equivalente
como
entidad
HTML
.
Actualmente
se
utiliza
el
juego
de
caracteres
ISO-8859-1
.
Vea
también
htmlspecialchars(
)
y
nl2br(
)
.