GNU bug report logs - #22436
read-coding-system uses wrong default when called from write-file

Previous Next

Package: emacs;

Reported by: Richard Copley <rcopley <at> gmail.com>

Date: Fri, 22 Jan 2016 19:32:01 UTC

Severity: minor

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Richard Copley <rcopley <at> gmail.com>, 22436 <at> debbugs.gnu.org
Subject: bug#22436: read-coding-system uses wrong default when called from write-file
Date: Sat, 23 Jan 2016 14:12:20 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

> Your locale's default encoding, cp1252, cannot encode this character,
> so Emacs asked you to provide an encoding that can, and offered
> chinese-iso-8bit as the default.

While correct, it is a slightly less than helpful default.  Most people
deal (at most) with two charsets: One local, and if not, then Unicode.
(Which would be utf8 on most systems, and possibly ucs16 on Windows, I
dunno.)

So `chinese-iso-8bit' is a surprising default.  Could the default be
improved upon?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 9 years and 173 days ago.

Previous Next


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