problem with ’ entities

Marcel de Riedmatten <[email protected]> Thu, 07 Sep 2006 22:56:01 +0200
Newsgroups gmane.comp.web.htdig.general
Message-ID <[email protected]>
Hi 

I want to index webpages containing the &rsquo; entity and i got
excerpts with:

&amp;rsquo; 

and the entity isn't displayed. 


I have played with 

translate_amp: true
translate_lt_gt: true
translate_quot: true
translate_latin1: true

but this doen't seems to be related to what i need. The problem seems to
be that the &rsquo; is not in the list of known entities in
htdig/SGMLEntities.cc. I could add it but the code for this entity is
decimal 8217 and that won't fit in an unsigned char as defined:

static struct
{
    char                        *entity;
    unsigned char       equiv;
} entities[] =
  {
    { "lt",           '<' } ,

.....


Can somebody confirm my feeling and guide me to a solution ? 

Thank You

-- 
Marcel de Riedmatten

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
ht://Dig general mailing list: <[email protected]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBFAIdhwEgIdc/nA8oRAgplAJ9Dmu8CLa3kr1XdJoNTy7PFfzQnDQCfTBXj
z1dtlXqHXeS6/cQyZ5vHIt0=
=1UJ/
-----END PGP SIGNATURE-----