[Gambas-devel] About gb.web

Daniel Campos dcamposf at ...176...
Wed Dec 5 17:10:36 CET 2007


OK, understood

2007/12/5, Benoit Minisini <gambas at ...1...>:
> On mercredi 5 décembre 2007, Daniel Campos wrote:
> > Hi Benoit:
> >
> > I've looked at gb.web code and I can see in the HTML class that the
> > only characters replaced are "&","<",">" and "\"". I think we could
> > include there the special characters in HTML, for example "á" ->
> > "á", etc...
> >
> > I can do it if you want...
> >
> > Daniel
> >
>
> Please don't! The Gambas HTML quoting function is slow, and there are too many
> HTML entities to process, so the better at the moment is just sending pages
> in UTF-8 and only quoting if needed.
>
> The code for quoting HTML entities exists, it is the kentities.h file located
> in the gb.gtk sources - this file comes from KDE sources :-)
>
> In a future version, gb.web will have a part written in C/C++. At this moment,
> HTML quoting will have to be rewritten in C/C++, and will use the kentities.h
> file for that!
>
> Regards,
>
> --
> Benoit Minisini
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: The Future of Linux Business White Paper
> from Novell.  From the desktop to the data center, Linux is going
> mainstream.  Let it simplify your IT future.
> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
> _______________________________________________
> Gambas-devel mailing list
> Gambas-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-devel
>




More information about the Devel mailing list