Jens Seidel, le Mon 22 Jan 2007 19:45:57 +0100, a écrit :
> According to lynx.cfg it is disabled because:
> This feature is experimental because while nl_langinfo(CODESET) itself
> is standardized, the return values and their relationship to the locale
> value is not. 

Mmm, that looks quite odd to me.

Posix says

« The nl_langinfo() function shall return a pointer to a string containing
information relevant to the particular language or cultural area defined
in the program's locale
[...]

     CODESET      LC_CTYPE     Codeset name. »

I don't see how that can be interpreted another way than "the name
of the codeset used by the current locale".  Further in lynx.cfg one
can read « GNU libiconv happens to give useful values, but other
implementations are not guaranteed to do this. ».  How on earth can
nl_langinfo() be related with iconv?!  Okay, the value returned by
nl_langinfo() may or may not be supported by iconv.  Well, if it's not
supported by iconv, I wonder how such system can work...

We've received a bug on the brltty mailing list that was actually this
bug.  Could you please compile with --enable-locale-charset?

Samuel



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to