version 1.49, 2018/11/28 14:23:02 |
version 1.50, 2019/07/19 21:45:37 |
|
|
#include "manconf.h" |
#include "manconf.h" |
#include "main.h" |
#include "main.h" |
|
|
|
#define UTF8_LOCALE "en_US.UTF-8" |
|
|
static struct termp *ascii_init(enum termenc, const struct manoutput *); |
static struct termp *ascii_init(enum termenc, const struct manoutput *); |
static int ascii_hspan(const struct termp *, |
static int ascii_hspan(const struct termp *, |
const struct roffsu *); |
const struct roffsu *); |
|
|
|
|
v = enc == TERMENC_LOCALE ? |
v = enc == TERMENC_LOCALE ? |
setlocale(LC_CTYPE, "") : |
setlocale(LC_CTYPE, "") : |
setlocale(LC_CTYPE, "en_US.UTF-8"); |
setlocale(LC_CTYPE, UTF8_LOCALE); |
|
|
/* |
/* |
* We only support UTF-8, |
* We only support UTF-8, |