Disable UTF-8 by default and add options to enable it.

This commit is contained in:
Nicholas Marriott
2008-11-16 13:28:59 +00:00
parent 46f5e42145
commit 5ca710d9e3
10 changed files with 66 additions and 13 deletions

4
tty.c
View File

@ -1,4 +1,4 @@
/* $Id: tty.c,v 1.50 2008-11-16 10:10:26 nicm Exp $ */
/* $Id: tty.c,v 1.51 2008-11-16 13:28:59 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -888,7 +888,7 @@ tty_cmd_cell(struct tty *tty, unused struct screen *s, va_list ap)
tty_attributes(tty, gc);
/* If not UTF8 multibyte, write directly. */
if (gc->data < 0xff) {
if (gc->data <= 0xff) {
tty_putc(tty, gc->data);
return;
}