From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Wed, 25 Jul 2007 11:50:47 -0700 Subject: [sup-talk] Unicode In-Reply-To: <1185385955-sup-2860@zap.electricrain.com> References: <1185377570-sup-5514@zap.electricrain.com> <1185385187-sup-767@south> <1185385955-sup-2860@zap.electricrain.com> Message-ID: <1185388707-sup-1409@south> Excerpts from Dan Sully's message of Wed Jul 25 10:54:23 -0700 2007: > I'm using LANG, but with xterm-color (via Terminal.app to a Ubuntu > box). That setup works fine for Mutt, fyi. If you cat out a utf-8 file, does the terminal display the right thing? If so, I would think that would work for Sup... at least under my current mental model where ncurses doesn't do anything except put out raw bytes which the terminal interprets. > > What *doesn't* work right now is calculating the lengths of unicode > > strings, so the display is a little screwed up for characters that > > take more than one utf-8 byte. But still usable. > > Ok, that would make sense. And in fact it's actually only a problem in thread-index-mode when someone's name is a rfc2047-encoded header. In every other case there's no character alignment issue. :) -- William