all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Ellispes is not in utf-8?
@ 2010-12-23  1:47 Lennart Borgman
  2010-12-23  2:26 ` Jason Rumney
  0 siblings, 1 reply; 4+ messages in thread
From: Lennart Borgman @ 2010-12-23  1:47 UTC (permalink / raw)
  To: Emacs-Devel devel

I just copied ellipses from this page:

  http://en.wikipedia.org/wiki/Ellipsis

and inserted them (with cua-paste) in a ruby file. At the end of this
file I added:

# Local variables:
# coding: utf-8
# End:

However Emacs does not seem to like that, it asks me if I want to save
it as "chinese-iso-8bit".

What is going on here?

Looking at the char I get:

        character: … (8230, #o20046, #x2026)
preferred charset: unicode (Unicode (ISO10646))
       code point: 0x2026
           syntax: _ 	which means: symbol
         category: .:Base, c:Chinese, h:Korean, j:Japanese
      buffer code: #xE2 #x80 #xA6
        file code: not encodable by coding system iso-latin-1-dos
          display: by this font (glyph code)
    uniscribe:-outline-Lucida
Console-normal-normal-normal-mono-13-*-*-*-c-*-iso10646-1 (#xAB)

Character code properties: customize what to show
  name: HORIZONTAL ELLIPSIS
  general-category: Po (Punctuation, Other)
  decomposition: (compat 46 46 46) (compat '.' '.' '.')


(This is on w32, using Chrome as web browser. My patched version of
Emacs from 2010-10-19.)



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Ellispes is not in utf-8?
  2010-12-23  1:47 Ellispes is not in utf-8? Lennart Borgman
@ 2010-12-23  2:26 ` Jason Rumney
  2010-12-23  2:38   ` Lennart Borgman
  0 siblings, 1 reply; 4+ messages in thread
From: Jason Rumney @ 2010-12-23  2:26 UTC (permalink / raw)
  To: emacs-devel

On 23/12/2010 09:47, Lennart Borgman wrote:
> I just copied ellipses from this page:
>
>    http://en.wikipedia.org/wiki/Ellipsis
>
> and inserted them (with cua-paste) in a ruby file. At the end of this
> file I added:
>
> # Local variables:
> # coding: utf-8
> # End:
>
>    

This seems to be a bug in ruby-mode. It has a feature that automatically 
inserts a coding header to the start of the file, which is enabled by 
default. However, this does not respect the manual setting that you made 
in the buffer - nor does it respect any changes you make to the header 
that it has inserted.  It seems you are forced to use C-x RET f to set 
the coding-system if you want ruby-mode to respect your request.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Ellispes is not in utf-8?
  2010-12-23  2:26 ` Jason Rumney
@ 2010-12-23  2:38   ` Lennart Borgman
  2010-12-23 14:33     ` Stefan Monnier
  0 siblings, 1 reply; 4+ messages in thread
From: Lennart Borgman @ 2010-12-23  2:38 UTC (permalink / raw)
  To: Jason Rumney; +Cc: emacs-devel

On Thu, Dec 23, 2010 at 3:26 AM, Jason Rumney <jasonr@gnu.org> wrote:
> On 23/12/2010 09:47, Lennart Borgman wrote:
>>
>> I just copied ellipses from this page:
>>
>>   http://en.wikipedia.org/wiki/Ellipsis
>>
>> and inserted them (with cua-paste) in a ruby file. At the end of this
>> file I added:
>>
>> # Local variables:
>> # coding: utf-8
>> # End:
>>
>>
>
> This seems to be a bug in ruby-mode. It has a feature that automatically
> inserts a coding header to the start of the file, which is enabled by
> default. However, this does not respect the manual setting that you made in
> the buffer - nor does it respect any changes you make to the header that it
> has inserted.  It seems you are forced to use C-x RET f to set the
> coding-system if you want ruby-mode to respect your request.

Thanks, I see. What do we do to get this fixed?



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Ellispes is not in utf-8?
  2010-12-23  2:38   ` Lennart Borgman
@ 2010-12-23 14:33     ` Stefan Monnier
  0 siblings, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2010-12-23 14:33 UTC (permalink / raw)
  To: Lennart Borgman; +Cc: emacs-devel, Jason Rumney

> Thanks, I see. What do we do to get this fixed?

Just an outrageous idea: M-x report-emacs-bug RET, then provide
a detailed recipe starting from "emacs -Q" along with a description of
what happens  and what you expected to happen instead.


        Stefan



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-23 14:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-23  1:47 Ellispes is not in utf-8? Lennart Borgman
2010-12-23  2:26 ` Jason Rumney
2010-12-23  2:38   ` Lennart Borgman
2010-12-23 14:33     ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.