[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: |
Thu, 14 Aug 2008 23:20:33 +0100 |
User-agent: |
KNode/0.10.9 |
Ted Zlatanov wrote:
> This should decode to нуль but doesn't (I get the same string
> instead):
>
> (decode-coding-string "íîëü" 'cp1251)
>
> Am I missing something obvious? Do I need to encode the string to
> something else?
>
Guessing you're using a new multibyte/unicode emacs, and noting that I
do not currently fully understand emacs encoding handling, but...
probably - try:
(decode-coding-string (encode-coding-string "íîëü" 'iso-8859-1) 'cp1251)
- Re: decode-coding-string question, (continued)
- Re: decode-coding-string question, Eli Zaretskii, 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, Eli Zaretskii, 2008/08/18
- Re: decode-coding-string question, Kevin Rodgers, 2008/08/19
- 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, Dmitry Dzhus, 2008/08/15
Re: decode-coding-string question,
David Golden <=