|
From: | Dmitry Dzhus |
Subject: | Re: decode-coding-string question |
Date: | Fri, 15 Aug 2008 02:19:11 +0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
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? 0. «íóëü», not «íîëü» 1. (decode-coding-string (string-make-unibyte "íóëü") 'cp1251) -- Happy Hacking. http://sphinx.net.ru む
[Prev in Thread] | Current Thread | [Next in Thread] |