GNU bug report logs - #31062
26.0.91; warning on UTF-8 encoding of unibyte text

Previous Next

Package: emacs;

Reported by: charles <at> aurox.ch (Charles A. Roelli)

Date: Wed, 4 Apr 2018 18:27:01 UTC

Severity: wishlist

Found in version 26.0.91

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 31062 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: charles <at> aurox.ch (Charles A. Roelli)
Cc: 31062 <at> debbugs.gnu.org
Subject: Re: bug#31062: 26.0.91; warning on UTF-8 encoding of unibyte text
Date: Wed, 04 Apr 2018 22:20:55 +0300
> Date: Wed, 04 Apr 2018 20:26:52 +0200
> From: charles <at> aurox.ch (Charles A. Roelli)
> 
> emacs -q
> C-x b test RET
> M-: (insert-byte 195 1) RET
> M-: (insert-byte 188 1) RET	> buffer text should look like \303\274
> C-x C-s /tmp/foo RET		> the path is irrelevant
> 
> 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.




This bug report was last modified 3 years and 322 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.