[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Trying to fix slang

On Wed, Jan 30, 2002 at 09:01:25AM +0000, Phil Blundell wrote:
> Yes, it does.  There's nothing actually UTF8 specific in the new code;
> it would be better described as "multibyte character aware" or
> something.
> The downside to this, for some people, is that you do need to have
> proper locale configuration in situations where it didn't previously
> matter.  In particular, if you want to display top-bit-set characters,
> either for line drawing or iso-8859-? accented characters, you need to
> be in a locale that says this is OK.  Trying this with no locale set or
> an unsuitable one will probably cause the offending characters to go
> missing, perhaps taking other things with them.

To correct this a bit: the UTF8 patch breaks ACS completely.  Even when
LANG=C, you can still display line drawing characters; the ACS stuff
runs alongside the locale, in a sense, and Slang uses this, but this
patch breaks this.

The reason Mutt works in UTF-8 isn't because Unicode has line drawing
characters.  It's because Mutt special cases UTF-8.  If you're not in
UTF-8, Slang's line drawing stuff takes over, and tha'ts broken.
(I tried to fix this and died.)

Accented characters work as expected; those aren't ACS characters.

Glenn Maynard

Reply to: