From: David Golden <david.golden@oceanfree.net>
To: help-gnu-emacs@gnu.org
Subject: Re: decode-coding-string question
Date: Thu, 14 Aug 2008 23:20:33 +0100 [thread overview]
Message-ID: <Rc2pk.26723$j7.472546@news.indigo.ie> (raw)
In-Reply-To: 86wsijz4wt.fsf@lifelogs.com
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)
prev parent reply other threads:[~2008-08-14 22:20 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-14 21:02 decode-coding-string question Ted Zlatanov
2008-08-14 22:19 ` Dmitry Dzhus
2008-08-15 7:37 ` Eli Zaretskii
2008-08-15 15:54 ` Ted Zlatanov
2008-08-15 17:04 ` Eli Zaretskii
[not found] ` <mailman.16821.1218819933.18990.help-gnu-emacs@gnu.org>
2008-08-18 13:58 ` Ted Zlatanov
2008-08-18 16:09 ` Nikolaj Schumacher
2008-08-18 17:45 ` David Golden
2008-08-18 19:11 ` Eli Zaretskii
2008-08-19 8:34 ` Kevin Rodgers
[not found] ` <mailman.16993.1219086714.18990.help-gnu-emacs@gnu.org>
2008-08-18 20:07 ` Ted Zlatanov
2008-08-18 23:01 ` David Golden
2008-08-19 13:48 ` Ted Zlatanov
[not found] ` <mailman.16762.1218785885.18990.help-gnu-emacs@gnu.org>
2008-08-15 16:06 ` Dmitry Dzhus
2008-08-14 22:20 ` David Golden [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='Rc2pk.26723$j7.472546@news.indigo.ie' \
--to=david.golden@oceanfree.net \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.