diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2017-01-21 13:01:39 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2017-01-21 13:01:39 +0000 |
commit | ef7476572c9a18c0cb4d5dbaf3a81f1628419abb (patch) | |
tree | 0358496ea53f35b6dc31f8a296a2021c99db1b89 /term_ascii.c | |
parent | 05798824d24a3b26ef3439303ad694202c75729e (diff) |
Notes
Diffstat (limited to 'term_ascii.c')
-rw-r--r-- | term_ascii.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/term_ascii.c b/term_ascii.c index fecdb0a964dc..df5ff13901c2 100644 --- a/term_ascii.c +++ b/term_ascii.c @@ -1,4 +1,4 @@ -/* $Id: term_ascii.c,v 1.53 2016/07/08 22:29:05 schwarze Exp $ */ +/* $Id: term_ascii.c,v 1.54 2016/07/31 09:29:13 schwarze Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2014, 2015 Ingo Schwarze <schwarze@openbsd.org> @@ -98,7 +98,7 @@ ascii_init(enum termenc enc, const struct manoutput *outopts) v = TERMENC_LOCALE == enc ? setlocale(LC_CTYPE, "") : - setlocale(LC_CTYPE, "en_US.UTF-8"); + setlocale(LC_CTYPE, UTF8_LOCALE); if (NULL != v && MB_CUR_MAX > 1) { p->enc = enc; p->advance = locale_advance; |