diff options
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/ptexenc/ptexenc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Build/source/texk/ptexenc/ptexenc.c b/Build/source/texk/ptexenc/ptexenc.c index db0a5e624d0..db05d6c2451 100644 --- a/Build/source/texk/ptexenc/ptexenc.c +++ b/Build/source/texk/ptexenc/ptexenc.c @@ -955,6 +955,8 @@ char *ptenc_guess_enc(FILE *fp) } } + if (pos_db) maybe_sjis = maybe_euc = 0; + if (pos_utf8) maybe_utf8 = 0; if (is_ascii) strcpy(enc,"ASCII"); else if (maybe_sjis+maybe_euc+maybe_utf8>1) { |