unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Mattias Engdegård" <mattiase@acm.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Use the Unicode replacement character for replacing unencodable characters into UTF-16
Date: Tue, 18 Aug 2020 21:43:45 +0200	[thread overview]
Message-ID: <771FA0EA-8DAF-432B-8C8F-1176B49311C3@acm.org> (raw)
In-Reply-To: <83pn7nesa8.fsf@gnu.org>

18 aug. 2020 kl. 20.13 skrev Eli Zaretskii <eliz@gnu.org>:

> My reading is that this happens only for codepoints beyond 0x10ffff.
> Raw bytes end up there, but I'm not sure they always end up there.
> Characters that aren't unified also end up there.

As far as I can tell raw bytes (in the [128,255] range) are always replaced, even when the input is a unibyte string.




      reply	other threads:[~2020-08-18 19:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-18 15:36 Use the Unicode replacement character for replacing unencodable characters into UTF-16 Mattias Engdegård
2020-08-18 16:19 ` Eli Zaretskii
2020-08-18 17:07   ` Mattias Engdegård
2020-08-18 18:13     ` Eli Zaretskii
2020-08-18 19:43       ` Mattias Engdegård [this message]

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=771FA0EA-8DAF-432B-8C8F-1176B49311C3@acm.org \
    --to=mattiase@acm.org \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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).