[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Coding system prefer
From: |
Teemu Likonen |
Subject: |
Re: Coding system prefer |
Date: |
Tue, 03 Mar 2009 16:18:48 GMT |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
On 2009-03-03 06:58 (-0800), Jason Rumney wrote:
> On Mar 3, 7:46 pm, Maze <maze...@gmail.com> wrote:
>> I need to work with files in cp1251 and cp866
> ...
>> How can i use both coding together?
>
> You can't. Both these encodings are indistinguishable from binary
> data, so all files will be auto-detected as whichever is first in the
> priority list.
If the files can be detected by filename then variable auto-coding-alist
may be useful. As the name says it's an association list consisting of
items "(REGEXP . CODING-SYSTEM)". There is also the variable
auto-coding-functions which is a list of functions for determining
conding systems. For more info, see:
C-h v auto-coding-alist RET
C-h v auto-coding-functions RET
- Coding system prefer, Maze, 2009/03/03
- Re: Coding system prefer, Jason Rumney, 2009/03/03
- Re: Coding system prefer,
Teemu Likonen <=
- Re: Coding system prefer, Maze, 2009/03/04
- Re: Coding system prefer, Peter Dyballa, 2009/03/04
- Message not available
- Re: Coding system prefer, Sergio, 2009/03/04
- Re: Coding system prefer, Miles Bader, 2009/03/04
- Re: Coding system prefer, Sergio, 2009/03/05
- Re: Coding system prefer, Maze, 2009/03/20
- Re: Coding system prefer, Fedor Khod'kov, 2009/03/04
- Re: Coding system prefer, Fedor Khod'kov, 2009/03/04
- Re: Coding system prefer, Eli Zaretskii, 2009/03/04
Re: Coding system prefer, Peter Dyballa, 2009/03/03