* Dealing with Unicode
@ 2013-10-11 10:01 Alex Schroeder
2013-10-11 10:09 ` Alex Schroeder
0 siblings, 1 reply; 4+ messages in thread
From: Alex Schroeder @ 2013-10-11 10:01 UTC (permalink / raw)
To: info-gnus-english
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Dealing with Unicode
2013-10-11 10:01 Dealing with Unicode Alex Schroeder
@ 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>
0 siblings, 2 replies; 4+ messages in thread
From: Alex Schroeder @ 2013-10-11 10:09 UTC (permalink / raw)
To: info-gnus-english
Alex Schroeder <alex@gnu.org> writes:
> name: SMILING FACE WITH HEART-SHAPED EYES
>
> 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))
>
> How can I prevent this error message? Why is Gnus (or Emacs?)
> using
> emacs-mule to save this buffer?
Perhaps the culprit is an entry in auto-coding-alist:
("/#[^/]+#\\'" . emacs-mule)
I'll try using utf-8 and we'll see how it goes.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Dealing with Unicode
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>
1 sibling, 0 replies; 4+ messages in thread
From: Tassilo Horn @ 2013-10-14 6:56 UTC (permalink / raw)
To: info-gnus-english
Alex Schroeder <alex@gnu.org> writes:
Hi Alex,
>> name: SMILING FACE WITH HEART-SHAPED EYES
>>
>> 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))
>>
>> How can I prevent this error message? Why is Gnus (or Emacs?) using
>> emacs-mule to save this buffer?
>
> Perhaps the culprit is an entry in auto-coding-alist:
>
> ("/#[^/]+#\\'" . emacs-mule)
>
> I'll try using utf-8 and we'll see how it goes.
I've just tried sending a mail with that unicode character, and Gnus
didn't message an error. The mail is sent as utf-8.
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: base64
I don't have any configurations with respect to coding systems, neither
for Gnus nor for message or emacs in general.
Bye,
Tassilo
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <mailman.3954.1381733826.10748.info-gnus-english@gnu.org>]
* Re: Dealing with Unicode
[not found] ` <mailman.3954.1381733826.10748.info-gnus-english@gnu.org>
@ 2013-10-14 21:32 ` Alex Schroeder
0 siblings, 0 replies; 4+ messages in thread
From: Alex Schroeder @ 2013-10-14 21:32 UTC (permalink / raw)
To: info-gnus-english
Tassilo Horn <tsdh@gnu.org> writes:
> Alex Schroeder <alex@gnu.org> writes:
>>> name: SMILING FACE WITH HEART-SHAPED EYES
>>>
>>> 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))
>>
>> Perhaps the culprit is an entry in auto-coding-alist:
>>
>> ("/#[^/]+#\\'" . emacs-mule)
>>
>> I'll try using utf-8 and we'll see how it goes.
>
> I've just tried sending a mail with that unicode character, and Gnus
> didn't message an error. The mail is sent as utf-8.
>
> Content-Type: text/plain; charset=utf-8
> Content-Transfer-Encoding: base64
>
> I don't have any configurations with respect to coding systems, neither
> for Gnus nor for message or emacs in general.
Hi Tassilo
Sending never was a problem. My problem was that Gnus or Emacs was
trying to autosave the " *Format Temp 0*" buffer using emacs-mule. Once
I added the setting I mentioned above, the problem stopped.
Cheers
Alex
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-10-14 21:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-11 10:01 Dealing with Unicode Alex Schroeder
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
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).