In-Reply-To: <[EMAIL PROTECTED]> > From: "Rick" <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Date: Thu, 07 Aug 2003 13:43:05 +0100 > Subject: [htdig] HTML entities in search results > > Hello htdiggers ... > > I have tried to find an answer to this one in the htdig documentation > and mailing list archives, but I have failed ... > > The translate_amp, translate_lt_gt and translate_quot attributes are > set true, and convert to HTML entities as expected ... > > ... but I need to output only ASCII 7-bit characters in the search > results, with *all* characters in the range 128-255 represented by an > HTML entity, eg: =E9 (char 233) should be written as é > > I can't find a way of doing it. What's wrong with me?
Last I checked, there was nothing wrong with you - there was a hole in the entity conversion scheme (in the Latin-1 variant at least) from 128 to 160. I submitted a sort of a sketch of a patch (I don't have a compiler and getting one is #667 on my to-do list). It wasn't ideal - it assigned glyphs to codes in this range in an MS-specific manner - but that shouldn't matter, as far as I could tell, since the codes are purely internal to the database and we can keep it as a dirty little secret. M ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ 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

