On Fri, Jan 26, 2007 at 11:51:29AM -0800, chris wrote:
> Package: joe
> Version: 3.5-1.1
> Severity: normal
> Tags: l10n
> 
>  locale charmap -- UTF-8

OK, that command means that nl_langinfo(CODESET) returns UTF-8. It's not
documented in its manual page so I had to look around to figure out what
it does.

Joe code is supposed to use this system function, but for some reason it
still reverts to an internal function, and that one is a kludge which
obviously doesn't handle this case.

The autoconf stuff does #define HAVE_SETLOCALE 1, and all is well, but
then utf8.c also does this at the top:

/* If it looks old, forget it */
#ifndef CODESET
#undef HAVE_SETLOCALE
#endif

Of course, there's no apparent reason why CODESET would be defined at this
point, so all the good work below goes to waste because of this pointless
bit. I'll just remove it and it'll be fixed :)

-- 
     2. That which causes joy or happiness.


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

Reply via email to