diff options
Diffstat (limited to 'Build/source/texk/ptexenc/ptexenc.c')
-rw-r--r-- | Build/source/texk/ptexenc/ptexenc.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Build/source/texk/ptexenc/ptexenc.c b/Build/source/texk/ptexenc/ptexenc.c index ee28d39ddab..35f0fe9b7f0 100644 --- a/Build/source/texk/ptexenc/ptexenc.c +++ b/Build/source/texk/ptexenc/ptexenc.c @@ -222,6 +222,15 @@ boolean is_internalUPTEX(void) return (internal_enc == ENC_UPTEX); } +boolean is_terminalUTF8(void) +{ +#ifdef WIN32 + return false; +#else + get_terminal_enc(); return (terminal_enc == ENC_UTF8); +#endif +} + /* check char range */ boolean ismultichr (int length, int nth, int c) |