Subject: bug#23850: closed (Re: bug#23850: 25.0.95; Deprecate string-to/as-unibyte/multibyte)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 26 Jun 2016 02:05:02 +0000

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 [email-masked].

-- 
23850: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23850
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#23850: 25.0.95; Deprecate string-to/as-unibyte/multibyte
From: Leo Liu <[email-masked]>
To: [email-masked]
Date: Sun, 26 Jun 2016 10:03:49 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 25.2

Subject: 25.0.95; Deprecate string-to/as-unibyte/multibyte
From: Leo Liu <[email-masked]>
To: [email-masked]
Date: Sun, 26 Jun 2016 09:48:17 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

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