Welcome to PhiloLogic Friday, September 05 2008 @ 11:05 AM CDT  
home |  the ARTFL project |  DLDC |  download |  user documentation |  developer |  bugs |  to do |  sample databases |  encoding |  contact |  wiki |   
PhiloLogic Bugs

To fix

In the old days, when most people had no way of entering accented characters into search forms, we at the ARTFL Project developed a method that we called post-fix. Basically, a user could (and still can in fact) enter "c,", "e/" or "a^" and those strings would be converted on the way in, to "ç", "é" and "à" respectively. This causes a problem when one does a search for say "Balzac, Honoré de" in the author bibliographic search field. This search becomes "Balzaç Honoré de". The fix is relatively simple. The postfix2UTF8 subroutine in philosubs.pl would need the following change:

$l =~ s/c\,/\xc3\xa7/g;

should be changed to

$l =~ s/c\,([a-zA-Z\177-\377])/\xc3\xa7$1/g;

This simple fix has managed to slip under the radar (and out of the CVS) in our previous distributions and although we hope to get it in there next time around, if it eludes us yet again, feel free to make the fix yourself!

Created this page in 0.03 seconds


 Copyright © 2008 The University of Chicago
 PhiloLogic™ is a registered trademark of the University of Chicago.
All other trademarks and copyrights on this page are owned by their respective owners.