From 6db7bd6791244fb0ba4bbd58526acae93cf77899 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 19 May 2009 16:08:35 +0000 Subject: Try to guess if the window is UTF-8 by outputting a three-byte UTF-8 wide character and seeing how much the cursor moves. Currently tries to figure out if this works by some stupid checks on the terminal, these need to be rethought. Also might be better using a width 1 character rather than width 2. --- CHANGES | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'CHANGES') diff --git a/CHANGES b/CHANGES index 500fc30d..2c85331c 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,9 @@ 19 May 2009 +* Try to guess if the window is UTF-8 by outputting a three-byte UTF-8 wide + character and seeing how much the cursor moves. Currently tries to figure out + if this works by some stupid checks on the terminal, these need to be + rethought. Also might be better using a width 1 character rather than width 2. * If LANG contains "UTF-8", assume the terminal supports UTF-8, on the grounds that anyone who configures it probably wants UTF-8. Not certain if this is a perfect idea but let's see if it causes any problems. @@ -1278,7 +1282,7 @@ (including mutt, emacs). No status bar yet and no key remapping or other customisation. -$Id: CHANGES,v 1.294 2009-05-19 16:03:18 nicm Exp $ +$Id: CHANGES,v 1.295 2009-05-19 16:08:35 nicm Exp $ LocalWords: showw utf UTF fulvio ciriaco joshe OSC APC gettime abc DEF OA clr LocalWords: rivo nurges lscm Erdely eol smysession mysession ek dstname RB ms -- cgit