[htdig] problems with accents


Philippe Riviere (Philippe.Riviere@Monde-diplomatique.fr)
Thu, 20 May 1999 10:58:38 +0200


Hi,

* two problems arise with accents :

1) some browsers don't like URLs containing accentuated letters (it would
be better to have them escaped). This happens in the results page when your
search of an accentuated word yields many results : the 1 2 3 4 5 next
links contain accents

2) searching "étude" does not yield "etudes" and vice-versa. I'd prefer it to.

* I patched Display.cc for a presentation glitch (in my view) : the 1 2 3 4
5 images are separated by a space which can be ugly (depending on the
images you use) ; I've suppressed that space in the code, but it would be
nicer to have this as an option (and this is something I don't know how to
do).

-- lines (Display.cc v 3.1.2) were
504: *str << p << ' ';
514: *str << tmp << "\">" << p << "</a> ";

patch:
504: *str << p ;
514: *str << tmp << "\">" << p << "</a>";

-- Philippe Riviere <Philippe.Riviere@monde-diplomatique.fr>
    Le Monde diplomatique http://www.monde-diplomatique.fr/
    21b, rue Claude-Bernard 75005 Paris tel: 33 1 42 17 37 46

Le Monde diplomatique in English: http://www.monde-diplomatique.fr/en/

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig@htdig.org containing the single word "unsubscribe" in
the SUBJECT of the message.



This archive was generated by hypermail 2.0b3 on Thu May 20 1999 - 01:23:59 PDT