From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "İsmail Dönmez" <ismail@namtrac.org>
Cc: Andreas Schwab <schwab@suse.de>, emacs- devel <emacs-devel@gnu.org>
Subject: Re: base64-encode-string confusion
Date: Tue, 26 Aug 2008 09:49:18 -0400 [thread overview]
Message-ID: <jwvsksrriqi.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <19e566510808260628w12716ba3k7f51a6903743bba9@mail.gmail.com> ("İsmail Dönmez"'s message of "Tue, 26 Aug 2008 16:28:32 +0300")
> 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
next prev parent reply other threads:[~2008-08-26 13:49 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 [this message]
2008-08-26 15:57 ` İsmail Dönmez
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvsksrriqi.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=ismail@namtrac.org \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).