Uudecode is an algorithm for converting text files to binary. It is taken from the phrase "Unix-to-Unix encoding," as the first implementation was the Unix program "uudecode." It was originally used to transmit files over email and Usenet; it has been supplanted by MIME and Base64. See also [tag:uuencode].
Questions tagged [uudecode]
12 questions
6
votes
8 answers
How can a bash script write out a binary file, without using uudecode?
I've got a little puzzler here for the bash scripting experts... I have a bash script that needs to create a small (80 byte) binary file when it runs. The contents of the file need to be contained inside the script itself (i.e. I don't want to just…

Jeremy Friesner
- 70,199
- 15
- 131
- 234
3
votes
2 answers
Trying to determine if file has been uuencoded
I am trying to process a large collection of txt files which themselves are containers for the actual files that I am wanting to process. The txt files have sgml tags that set boundaries for the individual files I am processing. Sometimes, the…

PyNEwbie
- 4,882
- 4
- 38
- 86
3
votes
1 answer
Does Java has any standard mechanism for uudecoding?
I was writing a Java program to download attachments from POP3 email. Originally I do this with getting an input stream of a MimePart if its content type is validated. And then I can simply write the input stream into a local file through a…

peakingcube
- 1,388
- 15
- 32
2
votes
1 answer
Are there any special variations of uuencoding / uudecoding?
I have written a small program which can encode/decode a text with uuencode/uudecode. The code is based on the algorithm described on Wikipedia. It works fine when I encode/decode a string. But I have found a uuencoded file which I can't decode.…

kiritsuku
- 52,967
- 18
- 114
- 136
1
vote
1 answer
uudecode algorithm in javascript
i'm looking for a implementation of uudecode algorithm in javascript, anybody knows if any framework or native javascript implements this funcionality?
I'm trying to find the solution in the web and i cant find anything, if any can helps i would…

Kalamarico
- 5,466
- 22
- 53
- 70
1
vote
2 answers
convert_uuencode a php file
I want to encode a php file with uuencode to use it with
eval(gzuncompress(convert_uudecode("somedata");
I only found a way to encode a string, but no way to encode a complete php file (or php code).
Thanks!

Stan
- 129
- 12
0
votes
1 answer
0
votes
1 answer
The data edited in Slate.js editor saved as [Object],[Object] in the data based.How to make this Object as meaningful content?
I am using a framework of slate.js named slate-plugins to build an editor. It worked to save the data in the database but the data saved as [Obj],[Obj] in the database instead of HTML data. Hence on calling the data at the frontend it is showing as…

TASKMASTER
- 831
- 1
- 8
- 15
0
votes
0 answers
codecs.decode fails to decode uu-encoded string when newline in missing at the end
In a long script I have this lines
document.contents = codecs.decode(document.contents.encode("ascii"), "uu")
where document.contents is a str. This line produces the following error:
Traceback (most recent call last):
File…

robertspierre
- 3,218
- 2
- 31
- 46
0
votes
2 answers
How to determine UUDecoding method needed?
I'm communicating to a device that returns uuencoded data:
ASCII: EZQAEgETAhMQIBwIAUkAAABj
HEX: 45-5A-51-41-45-67-45-54-41-68-4D-51-49-42-77-49-41-55-6B-41-41-41-42-6A
The documentation for this device states the above is uuencoded but I can't…

Smithy
- 2,170
- 6
- 29
- 61
0
votes
1 answer
how to check if string is valid for uudecode
I would like to check if $sTring is encoded before using 'convert_uudecode', and output nothing if $sTring is not. I got a PHP warning: "...The given parameter is not a valid unencoded string in...", unless I encoded $sTring correctly. Is there…

xam
- 452
- 2
- 7
- 15
0
votes
1 answer
Python Uudecode Call Corruption
I am working on extracting PDFs from SEC filings. They usually come like this:
SEC Filing Example
For whatever reason when I save the raw PDF to a .text file, and then try to run
uudecode -o output_file.pdf input_file.txt
from the python…