more about build-index+cl-ppcre branch & encodings



On 3/2/11 9:59 PM, Robert Dodier wrote:
> On 3/2/11, Raymond Toy <toy.raymond at gmail.com> wrote:
>> On 3/2/11 4:29 PM, Robert Dodier wrote:
>>> OK, when I launch xterm with
>>> LC_ALL=foo LANG=foo xterm
>>> and then run Maxima 5.21.1 in that, describe text
>>> (titles and content) is displayed correctly in both
>>> ISO-8859 and UTF-8 locales.
>>>
>>> What was Ray's original proposal? I don't remember.
>> I think Leo is referring to my comment about treating the info files as
>> streams of octets.  You mentioned earlier that this is how the existing
>> system works.
> OK, I remember now.
Also, Leo mentioned to me that if you set
cl-info::*info-default-external-format* to NIL, then the new build-index
code will use octets.  I think you need to modify build-index and
recompile for this to work.

I've done a few tests with this using utf8 and latin1.  The output is
what I expect, once I remember to set my terminal emulator to use the
right encoding.

Ray