[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: decode-coding-string question
From: |
David Golden |
Subject: |
Re: decode-coding-string question |
Date: |
Mon, 18 Aug 2008 18:45:29 +0100 |
User-agent: |
KNode/0.10.9 |
Ted Zlatanov wrote:
> Context: I have a file full of CP1251 data and don't want to use
> Perl's Encode module because I'm stubborn and think Emacs should
> handle it :)
Just in case: If you have a file full of cp1251, and you know it's
cp1251, it' s usually best to just open it as cp1251 in the first
place!
C-x RET c cp1251 C-x C-f myfile.txt
It's typically only if you've got a file full of fragments in
different encodings (horrible mail spool formats and the like) that
you want to decode and reencode particular subregions of whole files.
If you've already opened a file and its encoding is misdetected,
you can also hit
C-x RET r cp1251
to "revert" the buffer to the file reopened in the specified encoding.
- decode-coding-string question, Ted Zlatanov, 2008/08/14
- Re: decode-coding-string question, Dmitry Dzhus, 2008/08/14
- Re: decode-coding-string question, Eli Zaretskii, 2008/08/15
- Re: decode-coding-string question, Ted Zlatanov, 2008/08/15
- Message not available
- Re: decode-coding-string question, Ted Zlatanov, 2008/08/18
- Re: decode-coding-string question, David Golden, 2008/08/18
- Re: decode-coding-string question, Ted Zlatanov, 2008/08/19
- Re: decode-coding-string question, Nikolaj Schumacher, 2008/08/19
Message not available
Re: decode-coding-string question, David Golden, 2008/08/14