From: Marc Chantreux <marc.chantreux@ulpmm.u-strasbg.fr>
To: zsh-users@sunsite.dk
Subject: Re: base64 coding for zsh ?
Date: Thu, 14 Sep 2006 16:50:38 +0200 [thread overview]
Message-ID: <20060914145038.GC13332@ulpmm.u-strasbg.fr> (raw)
In-Reply-To: <03ba01c6d793$d3bd7110$6500000a@venti>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 602 bytes --]
le 13/09/2006,
Brian K. White nous écrivait :
> Sent: Wednesday, September 13, 2006 11:08 AM
> alias B64enc='openssl base64'
> alias B64dec='openssl base64 -d'
>
> I've been using the stand-alone:
> http://www.fourmilab.ch/webtools/base64/
>
> I never realised I already had it in openssl.
> Thanks for the tip.
I didn't know that before yesterday but it was a bad idea in fact :
openssl base64 doesn't handle utf8 encoded content. So i found recode
command.
finaly :
alias b64dec='recode b64..data'
alias b64enc='recode data..b64'
benches are welcome ;)
regards,
mc
next prev parent reply other threads:[~2006-09-14 14:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-12 15:08 Marc Chantreux
2006-09-13 1:27 ` Bart Schaefer
2006-09-13 15:08 ` Marc Chantreux
2006-09-14 0:21 ` Brian K. White
[not found] ` <20060914003316.GD8475@lorien.comfychair.org>
2006-09-14 4:05 ` Brian K. White
2006-09-14 14:50 ` Marc Chantreux [this message]
2006-09-14 15:49 ` Bart Schaefer
2006-09-15 1:49 ` Brian K. White
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=20060914145038.GC13332@ulpmm.u-strasbg.fr \
--to=marc.chantreux@ulpmm.u-strasbg.fr \
--cc=zsh-users@sunsite.dk \
/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.vuxu.org/mirror/zsh/
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 NNTP newsgroup(s).