foreign language patch for build-index+cl-ppcre branch




On Fri, 25 Feb 2011, Robert Dodier wrote:

< On 2/24/11, Leo Butler <l.butler at ed.ac.uk> wrote:
< 
< >  I've pushed a patch that fixes this issue for
< >  sbcl, clisp and cmucl (debian testing). All the
< >  maxima-index.lisp files are made, and I don't see
< >  any non-printable characters.
< 
< After building from the tip of the branch,
< maxima-index.lisp files (de, de.utf8, es, es.utf8, pt, pt.utf8)
< are built successfully, and they appear to have correct
< characters in them (no '?' or other substitutions).
< 
< Titles and content are both displayed correctly
< in ISO-8859 locales (de_DE, es_ES, pt_PT).
< 
< Titles (i.e. the strings in maxima-index.lisp) are displayed
< correctly in UTF-8 locales, but in the content, special
< characters are messed up -- they are displayed as
< garbled characters.
< 
< I notice that all of the maxima.info* files have coding: iso-8859-1
< at the end, even in the *.utf8 directories.

Try the tip again, please.

The problem you saw was due to the Makefile script not correctly
setting the encoding in those directories. I am dimwitted enough
to assume that the make rules would have been written correctly.

At the moment, what I see is: all index files are built with
clisp, cmucl and sbcl; my test script passes without error; 
characters appear to be displayed correctly; and an index file
written by one lisp is read correctly by another.

Leo

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.