I forgot to thank Harald Oehlmann for proposing the package in the
first place and then for his suggestions and corrections.
-- Massimo
On 26.03.2012 23:17, Massimo Manghi wrote:
The new package RivetEntities has been just commited to trunk.
the packages endows the ::rivet namespace with two new commands
::rivet::encode <input_string> ?-encoding <encoding>?
::rivet::decode <input_string> ?-encoding <encoding>?
the first command returns a new string where characters eligible to
be
expanded into HTML entities are replaced with the corresponding &...;
string.
the second command is the inverse function and converts entities
back
in characters. Default encoding for both commands is utf-8.
The list of Possible encodings is output by command 'encoding names'
-- Massimo
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
For additional commands, e-mail: rivet-dev-h...@tcl.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
For additional commands, e-mail: rivet-dev-h...@tcl.apache.org