From: Alex Schroeder <alex@gnu.org>
To: info-gnus-english@gnu.org
Subject: Dealing with Unicode
Date: Fri, 11 Oct 2013 12:01:45 +0200 [thread overview]
Message-ID: <m2pprc9ldi.fsf@gnu.org> (raw)
Sometimes I'm writing an email that contains "Emoji" characters
such as this one:
----------------------------------------------------------------------
position: 219 of 800 (27%), column: 34
character: 😍 (displayed as 😍) (codepoint 128525,
#o373015,
#x1f60d)
preferred charset: unicode (Unicode (ISO10646))
code point in charset: 0x1F60D
syntax: w which means: word
category: .:Base
to input: type "C-x 8 RET HEX-CODEPOINT" or "C-x 8
RET
NAME"
buffer code: #xF0 #x9F #x98 #x8D
file code: #xF0 #x9F #x98 #x8D (encoded by coding
system
utf-8)
display: no font available
Character code properties: customize what to show
name: SMILING FACE WITH HEART-SHAPED EYES
general-category: So (Symbol, Other)
decomposition: (128525) ('😍')
----------------------------------------------------------------------
After a few seconds, I get shown the buffer ` *Format Temp 0*' and
a warning:
----------------------------------------------------------------------
These default coding systems were tried to encode text
in the buffer ` *Format Temp 0*':
(emacs-mule (164 . 128525))
However, each of them encountered characters it couldn't encode:
emacs-mule cannot encode these: 😍
Click on a character (or switch to this window by `C-x o'
and select the characters by RET) to jump to the place it appears,
where `C-u C-x =' will give information about it.
Select one of the safe coding systems listed below,
or cancel the writing with C-g and edit the buffer
to remove or modify the problematic characters,
or specify any other coding system (and risk losing
the problematic characters).
utf-8 gb18030 utf-7 utf-16 utf-16be-with-signature
utf-16le-with-signature utf-16be utf-16le utf-8-auto
utf-8-with-signature utf-8-nfd utf-7-imap utf-8-emacs
----------------------------------------------------------------------
How can I prevent this error message? Why is Gnus (or Emacs?)
using emacs-mule to save this buffer?
My .emacs contains this setting:
(prefer-coding-system 'utf-8)
Cheers
Alex
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
next reply other threads:[~2013-10-11 10:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-11 10:01 Alex Schroeder [this message]
2013-10-11 10:09 ` Alex Schroeder
2013-10-14 6:56 ` Tassilo Horn
[not found] ` <mailman.3954.1381733826.10748.info-gnus-english@gnu.org>
2013-10-14 21:32 ` Alex Schroeder
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2pprc9ldi.fsf@gnu.org \
--to=alex@gnu.org \
--cc=info-gnus-english@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.
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 NNTP newsgroup(s).