help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Char code to Emacs string.


From: Stefan Monnier
Subject: Re: Char code to Emacs string.
Date: Wed, 28 Mar 2012 19:16:38 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> What if I have some bytes and know its charset/coding and want convert
> to Emacs string?

decode-coding-string


        Stefan


PS: If it's a sequence of bytes, then you need to know its
coding-system, since only knowing its charset would not be enough: both
the utf-8 and utf-16 coding systems use the same charset (unicode).


reply via email to

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