lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Robert Raschke wrote:
I am utterly sure this has come up in the past, but I can't find it in
the archives.

Does anybody have a handy, little function to htmlify an 8 bit latin1
string?  You know, the kind of substitution of '<' to '&lt;', '&' to
'&amp;', 'ä' to '&auml;', ...

http://lua-users.org/wiki/PhilippeLhoste

See "Code samples" / "Character encoding and decoding"

A starting point to play with...

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --