|
From: | Jason Rumney |
Subject: | Re: Ellispes is not in utf-8? |
Date: | Thu, 23 Dec 2010 10:26:48 +0800 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |