help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File Encoding Issue on Windows


From: Stefan Monnier
Subject: Re: File Encoding Issue on Windows
Date: Wed, 13 Mar 2013 16:33:11 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> On one of the machine I have this in my .emacs file, but it doesn't do
> the trick!!!

> (setq buffer-file-coding-system 'utf-8-unix)
> (setq file-name-coding-system 'utf-8-unix)
> (setq default-keyboard-coding-system 'utf-8-unix)
> (setq default-process-coding-system '(utf-8-unix . utf-8-unix))
> (setq default-sendmail-coding-system 'utf-8-unix)
> (setq default-terminal-coding-system 'utf-8-unix)
> (setq buffer-file-coding-system 'utf-8-unix)

I recommend you throw away most/all of those settings, then when a file
is mis-recognized, tell us about it via M-x report-emacs-bug (which
will give us additional info about your locale settings and things like
that), ideally attaching the file to the bug-report (so it's better if
you can reproduce the problem on a small file with no private
information).

Nowadays, Emacs should recognize a utf-8 file in most circumstances,


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]