emacs-devel
[Top][All Lists]
Advanced

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

Re: base64-encode-string confusion


From: Stefan Monnier
Subject: Re: base64-encode-string confusion
Date: Tue, 26 Aug 2008 09:49:18 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> So here I guess multibyte != non-ascii ? The actual problem I am
> facing is base64-encode-string doesn't support non-ascii characters,

base64 is a way to encode a *byte sequence* in a way that is "email
safe".  I.e. it does not accept any characters: only bytes.
If you want to encode a char sequence using base64, you first need to
convert your char sequence into a byte sequence, using
encode-coding-string.


        Stefan




reply via email to

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