From: Pierre Habouzit Date: Sun, 30 Dec 2007 10:50:19 +0000 (+0100) Subject: Use nl_langinfo properly to detect if the charset is utf8 X-Git-Url: http://git.madism.org/?a=commitdiff_plain;h=6be1cb501cb582f98b6d800d7adfd7a42677ea77;hp=6be1cb501cb582f98b6d800d7adfd7a42677ea77;p=apps%2Fmadtty.git Use nl_langinfo properly to detect if the charset is utf8 Also remove bogus guard: we cannot use waddch for a multi-byte character (EUC-JP comes to mind). Signed-off-by: Pierre Habouzit ---