From: "İsmail Dönmez" <ismail@namtrac.org>
To: "Stefan Monnier" <monnier@iro.umontreal.ca>
Cc: Andreas Schwab <schwab@suse.de>, emacs- devel <emacs-devel@gnu.org>
Subject: Re: base64-encode-string confusion
Date: Tue, 26 Aug 2008 18:57:37 +0300 [thread overview]
Message-ID: <19e566510808260857i39994bfes22783ce1fc3c3cea@mail.gmail.com> (raw)
In-Reply-To: <jwvsksrriqi.fsf-monnier+emacs@gnu.org>
Hi,
On Tue, Aug 26, 2008 at 16:49, Stefan Monnier <monnier@iro.umontreal.ca> 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.
prev parent reply other threads:[~2008-08-26 15:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-26 11:17 base64-encode-string confusion İsmail Dönmez
2008-08-26 13:16 ` Andreas Schwab
2008-08-26 13:28 ` İsmail Dönmez
2008-08-26 13:49 ` Stefan Monnier
2008-08-26 15:57 ` İsmail Dönmez [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=19e566510808260857i39994bfes22783ce1fc3c3cea@mail.gmail.com \
--to=ismail@namtrac.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=schwab@suse.de \
/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.