[issue:249] Fwd: regexpatch: error on (u)pTeX with Japanese char

Hironobu Yamashita h.y.acetaminophen @ gmail.com
2019年 1月 16日 (水) 07:48:26 JST


転送します。 -- Hironobu Yamashita

---------- Forwarded message ---------
From: Enrico Gregorio <enrico.gregorio @ univr.it>
Date: 2019年1月15日(火) 22:26
Subject: Re: regexpatch: error on (u)pTeX with Japanese char
To: Hironobu Yamashita <h.y.acetaminophen @ gmail.com>


> On 15 Jan 2019, at 04:41, Hironobu Yamashita <h.y.acetaminophen @ gmail.com> wrote:
>
> \documentclass{article}
> \usepackage{regexpatch}
> \def\hoge{ああ,ほげとほげがぴよ。}
> \begin{document}
> Before: \hoge
>
> \xpatchcmd*{\hoge}{ほげ}{ふが}{}{}
>
> After: \hoge
> \end{document}

This is a lower level problem: the same error is produced by

\documentclass{article}
\usepackage{expl3}

\ExplSyntaxOn
\tl_set_rescan:Nnn \l_tmpa_tl {} {あ}

that reports Bad character code (12354) with uplatex
and Bad character code (42146) with platex.

I’ll mail the list.

Ciao
Enrico


issue メーリングリストの案内