GNU bug report logs - #23850
25.0.95; Deprecate string-to/as-unibyte/multibyte

Previous Next

Package: emacs;

Reported by: Leo Liu <sdl.web <at> gmail.com>

Date: Sun, 26 Jun 2016 01:49:02 UTC

Severity: normal

Found in version 25.0.95

Fixed in version 26.1

Done: Leo Liu <sdl.web <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Leo Liu <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.95; Deprecate string-to/as-unibyte/multibyte
Date: Sun, 26 Jun 2016 09:48:17 +0800
As discussed in http://thread.gmane.org/gmane.emacs.devel/204621:

,----[ Stefan Monnier ]
| The correct way to use them is to not use them and use
| encode/decode-coding-string instead.
`----

,----[ Eli Zaretskii ]
| Don't use them, period. They are remnants from the era long gone,
| before Emacs used Unicode and UTF-8 as the basis for its internal
| representation of characters. Nowadays the only place where such
| conversions are sometimes needed are on the C level, deep within Emacs
| internals. Applications should never use them.
`----

Leo




This bug report was last modified 8 years and 230 days ago.

Previous Next


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