[Top][All Lists]

[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)

reply via email to

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