I've been looking around for a library to encode/decode HTML entities
similar to the HTML::Entities that can be used with Perl.
i.e. "& amp ;" should be converted to "&" and vice versa (although the
reverse direction isnt that important"
I suppose I can write up a small class to do this myself, but I was
wondering if such a library exists.
Thx !
Tushar
Could consider parser tools like lex, yacc, bison for decoding...
wxWidgets has some HTML classes. Maybe take a look at their code.
wxWidgets URL: http://www.wxwidgets.org
--
Bob R
POVrookie
Given an HTML sequence like " I have the corresponding unicode
character value (In this case, 34). How can I display this in C/C++ ?
Doing something like printf("\u0034") gives me an error message saying
"\u0016 is not a valid universal character"
Errata: I do a printf("\u0012"), and the error message I get is
"\u0012 is not a valid universal character"
Errata: I do a printf("\u0012"), and the error message I get is
"\u0012 is not a valid universal character"