According to Ethan Baldridge:
> I'm looking for an option that will translate special characters into
> their HTML equivalents on the search results page, but I'm not having
> any luck so far.
> 
> My site has things like • for a bullet and ' for a single
> quote in the pages, but when they come up on the search results, it is
> literally showing • and ' -- is there a way to have htDig
> translate those into their equivalents?

htdig normally translates these by default.  Which version are you
running?  I'm assuming it must be a 3.2 beta, because I don't know of any
reason why the 3.1.x releases would have problems with either of these.
In the 3.2 betas, only 34, 38, 60, 62, and 160-255 are converted.  Also,
in 3.2, leading zeroes in the numerical entities would throw things
off even for the numbers that are converted, because it does string
substitutions for these, rather than parsing the number.

I think we will need to revisit and revamp the whole HtSGMLCodec class
to address these and other problems.  I think it was a step backward from
how 3.1.x deals with these.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to