2018-07-03 9:19 GMT+02:00 Kornel Benko:
> Hm, inserting
>
> \usepackage[latin1]{inputenc}
>
> in the preamble cures it too. (This is also what the error message
> suggests)
>
> ...
>
> ! Package inputenc Error: Invalid UTF-8 byte 252.
>
Quoting from BufferParams.cpp:
// If the "japanese" package (i.e. pLaTeX) is used,
// inputenc must be omitted.
// see
http://www.mail-archive.com/[email protected]/msg129680.html
I don't know why pLaTeX cannot handle inputenc (or if this still true), but
effectively this means that Japanese can only be used together with English
(or languages that use ASCII latin script, for that matter).
A long term solution would be to switch from pLaTeX (which is rated
"relatively old" in the excellent survey at [1]) to upLaTeX and thus
unicode input encoding. I'd like to hear Koji's thoughts on this, though.
Jürgen
[1] https://tex.stackexchange.com/a/15524/19291