[Top][All Lists]

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

Re: Using utf-8-auto as a process coding system

From: Bozhidar Batsov
Subject: Re: Using utf-8-auto as a process coding system
Date: Tue, 22 Jul 2014 08:55:53 +0300

Ops, I actually used an incorrect link. That’s the proper one - https://github.com/clojure-emacs/cider/issues/532

The gist of my problem is that Windows users have encoding related problems running cider (discussion here https://github.com/clojure-emacs/cider/issues/474). I guess the problem stems from this bit of code: 

(set-process-coding-system process 'utf-8-unix 'utf-8-unix)

As my Windows knowledge is quite limited I’m not sure how to handle the encoding for Windows users - perhaps I should check the operating system and set a different process encoding there? Maybe someone can point me to examples in the Emacs source code that handle this problem.


On July 21, 2014 at 6:37:17 PM, Eli Zaretskii (address@hidden) wrote:

> Date: Mon, 21 Jul 2014 17:54:42 +0300
> From: Bozhidar Batsov <address@hidden>
> Cc: emacs-devel <address@hidden>
> On July 21, 2014 at 4:25:04 PM, Andreas Schwab (address@hidden) wrote:
> Bozhidar Batsov <address@hidden> writes: 
> > I was wondering if someone can explain the rationale behind the utf-8-auto 
> > coding system that’s available in Emacs. 
> UTF-8 (auto-detect signature (BOM)) 
> So, it’s a good idea to use it for files, but it’s probably not a good idea to use it as process encoding, because there likely won’t be a BOM to check?

Actually, I don't see why it would be a good idea to use it anywhere.

Why did you get a recommendation for this encoding? (Sorry, I didn't
find it in the URL you mentioned earlier.) It's sound like a strange
recommendation to me.

reply via email to

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