Subject: Re: bug#31062: 26.0.91; warning on UTF-8 encoding of unibyte text

From: [email-masked] (Charles A. Roelli)
Date: Thu, 05 Apr 2018 20:27:15 +0200

> Date: Wed, 04 Apr 2018 22:20:55 +0300
> From: Eli Zaretskii <[email-masked]>
> 
> > There's this warning:
> > 
> > These default coding systems were tried to encode text
> > in the buffer ‘test’:
> >   (utf-8-unix (1 . 4194243) (2 . 4194236))
> > However, each of them encountered characters it couldn’t encode:
> >   utf-8-unix cannot encode these: \303 \274
> > 
> > Is the text "(1 . 4194243) (2 . 4194236)" useful here?
> 
> It shows the positions and the codepoints of the offending characters,
> and the coding-system that was tried.

Thank you for clarifying.  Could we write something like,

> These default coding systems were tried to encode text in the buffer
> 'test', but failed for the listed (POSITION . CODEPOINT) elements:

to make that clear to the user?