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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Leo Liu <sdl.web <at> gmail.com>
Subject: bug#23850: closed (Re: bug#23850: 25.0.95; Deprecate
 string-to/as-unibyte/multibyte)
Date: Sun, 26 Jun 2016 02:05:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#23850: 25.0.95; Deprecate string-to/as-unibyte/multibyte

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 23850 <at> debbugs.gnu.org.

-- 
23850: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23850
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Leo Liu <sdl.web <at> gmail.com>
To: 23850-done <at> debbugs.gnu.org
Subject: Re: bug#23850: 25.0.95; Deprecate string-to/as-unibyte/multibyte
Date: Sun, 26 Jun 2016 10:03:49 +0800
Version: 25.2

[Message part 3 (message/rfc822, inline)]
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 231 days ago.

Previous Next


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