From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Obsolete string-to-multibyte hard to replace
Date: Mon, 29 May 2017 20:45:47 +0300 [thread overview]
Message-ID: <83fufnftf8.fsf@gnu.org> (raw)
In-Reply-To: <jwvk24zj09b.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Mon, 29 May 2017 09:01:24 -0400)
> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Mon, 29 May 2017 09:01:24 -0400
>
> I think it'd make sense to change make-string so it always returns
> a multibyte string, and maybe to also introduce a new make-unibyte-string.
How about an optional argument to make-string instead?
Anyway, beware of the use case of building and starting Emacs in a
non-ASCII directory, especially when the locale's codeset is not
UTF-8. If we make such changes, these use cases must be audited to
see that they still work, because we use unibyte strings during early
stages of startup in these cases, until we figure out how to decode
them.
next prev parent reply other threads:[~2017-05-29 17:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-29 13:01 Obsolete string-to-multibyte hard to replace Stefan Monnier
2017-05-29 17:45 ` Eli Zaretskii [this message]
2017-05-30 4:03 ` Stefan Monnier
2017-05-30 0:21 ` Noam Postavsky
2017-05-30 3:28 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83fufnftf8.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).