Subject: bug#51877: 27.2; term: error in process filter

From: Eli Zaretskii <[email-masked]>
Date: Thu, 20 Jan 2022 22:02:10 +0200

> X-Spam-Status: No, score=-1.9 tagged_above=-10 required=5
> 	tests=[BAYES_00=-1.9] autolearn=ham autolearn_force=no
> Date: Thu, 20 Jan 2022 10:06:04 -0900
> From: Christopher Howard <[email-masked]>
> Cc: [email-masked], [email-masked]
> 
> switch temporarily to line mode (using the mouse menu)
> M-x set-terminal-coding-system raw-text

I don't think this would help.  Can you manually modify the function
term-emulate-terminal to use 'raw-text instead of
locale-coding-system, and then re-run the scenario in which you get
these problems?