Ask a Question related to PERL Miscellaneous, Design and Development.
-
http://edealseek.com/newsgroup.html #1
Compress/Zip a String
I need to convert a string, an URI/EmailAddress based string into a
letter/number only string. I know I can use acsii table, but that will
make each char into a 2 letter thing, that will increase the length of
the string by 100%. I know there are many zip/compress algorithm for
files. I used gzip to zip text file, and the ratio is 10%, so that
means using a good algorithm, I can cut 90% fat. I wonder if anyone
can show me a way to zip/compress a string ([url]http://?&key=value[/url], and
[email]something@somewhere.com[/email] like) into the least of letters/numbers
Thank you.
http://edealseek.com/newsgroup.html Guest
-
compress pdf
Hello. I have written some code to save a pdf file. However, I want to add code to compress the file, so the file-size will be reduced. Does... -
ByteArray Compress
It seems that bytearray compress uses a different algorithm than the one used by PHP anyone knows of any PHP class to uncompress a compressed... -
How to Compress with Acrobat CS
HI, I've constructed an A5 high res (300 DPI) 12 page PDF. The PDF is a collection of 12 Illustrator files, which in turn included PSD's, Vector's... -
ssh and compress problem
Hi, everyone! Can anyone please help me to resolve the following "ksh: /tmp/CSHM2_P3: cannot open" problem? I have no problem to create empty... -
Compress Movie
When publishing with MX Prof 2004 7.0.1, Win98, compress movie is automatically checked. When I publish the movie with the compress movie checked,... -
Jürgen Exner #2
Re: Compress/Zip a String
[url]http://edealseek.com/newsgroup.html[/url] wrote:
It appears you are looking for uuencode/uudecode.> I need to convert a string, an URI/EmailAddress based string into a
> letter/number only string.
jue
Jürgen Exner Guest
-
Louis Erickson #3
Re: Compress/Zip a String
"Jurgen Exner <jurgenex@hotmail.com> wrote:
: [url]http://edealseek.com/newsgroup.html[/url] wrote:
:> I need to convert a string, an URI/EmailAddress based string into a
:> letter/number only string.
: It appears you are looking for uuencode/uudecode.
Or base64. It's just as clen, and generally smaller.
Either will still expand the string. However, compressing it will almost
certainly produce binary data, and render goal of letters and numbers only
to be moot.
Could this be an XY problem?
--
Louis Erickson - [email]wwonko@rdwarf.com[/email] - [url]http://www.rdwarf.com/~wwonko/[/url]
Better dead than mellow.
Louis Erickson Guest
-
Malcolm Dew-Jones #4
Re: Compress/Zip a String
[url]http://edealseek.com/newsgroup.html[/url] (a@slip-12-64-158-90.mis.prserv.net) wrote:
: I need to convert a string, an URI/EmailAddress based string into a
: letter/number only string. I know I can use acsii table, but that will
: make each char into a 2 letter thing, that will increase the length of
: the string by 100%. I know there are many zip/compress algorithm for
: files. I used gzip to zip text file, and the ratio is 10%, so that
: means using a good algorithm, I can cut 90% fat. I wonder if anyone
: can show me a way to zip/compress a string ([url]http://?&key=value[/url], and
: [email]something@somewhere.com[/email] like) into the least of letters/numbers
zip and then base64
zip makes it as small a possible
base64 makes it a little bigger but in ascii
Malcolm Dew-Jones Guest



Reply With Quote

