Re: those funny non-ASCII characters
Eli Zaretskii <eliz <at> gnu.org>
2012-06-01 06:12:42 GMT
> From: rusi <rustompmody <at> gmail.com>
> Date: Thu, 31 May 2012 22:43:07 -0700 (PDT)
> On Jun 1, 9:23 am, Jason Rumney <jasonrum... <at> gmail.com> wrote:
> > On Thursday, 31 May 2012 01:15:11 UTC+8, Buchs, Kevin wrote:
> > > Xah suggested I embrace Unicode. So I could use (prefer-coding-system
> > > 'utf-8) or the file variable: -*- coding: utf-8 -*-. Are there drawbacks
> > > to the former? What about opening an ASCII coded file? Can emacs
> > > properly detect it or does it come up as UTF-8?
> > ASCII is a subset of UTF-8, so the problem you are imagining does not exist.
> This does not exactly work that way on windows.
> eg recently saw a description of how notepad put a BOM mark in a
> haskell-script which made the haskell scripts unrunnable
We are talking about Emacs, not about Notepad, so it's unclear to me
how what Notepad does is relevant to the OP's question.