> On 14.03.2012 16:01, Harald Oehlmann wrote:
>> Is there an utf-8 to html entity encoder in the rivet standard library ?
>> If not, I would favor to include:
>>     http://wiki.tcl.tk/26403
>> which is identical to tcllib html::html_entities

Am 14.03.2012 17:23, Massimo Manghi wrote:
> Do you propose to encapsulate it into a package and put it in
> rivet/packages? (the second ensemble based implementation looks better)

yes

>
> I usually consider tcllib as a needed component of every Tcl
> installation, so I don't see it as an absolute requirements. However I
> won't break anything.

I considered to use the tcllib html package.
I found the following inconveniences after a quick view:
- it overlapps with the form package
- it requires itself package ncgi which seams to be not so well suited
for Rivet
- ncgi requires package fileutils, another package to check the
consequences...

As the use of entities is an important internal function - any data
comming from a data base etc should pass by such a function - I was
wondering that this is not included.

I would also doubt if html entities could not be implemented as encoding...

-Harald

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
For additional commands, e-mail: rivet-dev-h...@tcl.apache.org

Reply via email to