Brian Mastenbrook <bmastenb@...> writes:
> On Dec 5, 2004, at 7:02 AM, Dirk Bernhardt wrote:
>
>> _nl_langinfo seems to relate to some Netherland locale, but I am not
>> sure. When I try and install the binary distribution, I get a similar
>> error about a missing library.
>>
>> What can I do?
>
> Hi Dick,
>
> Try editing base-target-features.lisp-expr and commenting out the
> :sb-unicode feature. nl_langinfo has to do with localization for any
> locale (the nl stands for "natural language" I think, not die
> Niederlands :-)
I'd be surprised if this were enough.
The nl_langinfo() call has to do with external-format support, not
Unicode per se -- even in an SBCL build with only 256 characters, it
is important to know whether it is writing to an iso-8859-1 or a utf-8
terminal.
I believe Thomas Burdick and Bruno Haible between them established
that more-or-less everything on Mac OS 10.2 spoke utf-8 by default
(and that there was no good way of finding that out programmatically);
so commenting out the definition and call of nl_langinfo, and
hardwiring utf-8 encoding everywhere, should help. (I believe there
was also something broken on Mac OS 10.2 with respect to dlopen() --
grovelling constants, maybe?)
Cheers,
Christophe
|