[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: base64-encode-string confusion
From: |
İsmail Dönmez |
Subject: |
Re: base64-encode-string confusion |
Date: |
Tue, 26 Aug 2008 18:57:37 +0300 |
Hi,
On Tue, Aug 26, 2008 at 16:49, Stefan Monnier <address@hidden> wrote:
>> 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.
Ah that makes sense indeed, thanks for the pointer.
Regards,
ismail
--
Programmer Excuse #26: I suspect it's a bus collision.