On 5/29/2013 9:12 AM, Was Greywolf wrote:
JHM:
>> Binary files must be encoded to produce text that is allowable
>> in email; this is usually done using the "base64" encoding standard,
>> which represents binary files using only a 64-character subset
>> of printable ascii characters, which can also be arbitrarily folded
>> into lines of limited length:
>> <
http://en.wikipedia.org/wiki/Base64>
> Precisely, that's why using a text editor to snip the *.jpg data
> and Saving As a *.jpg file works.
Unfortunately it doesn't "work" at all -- a base64-encoded version
of a binary image can not be directly displayed by most image viewers;
rather, it has to first be decoded back to the actual binary image format.
> Which is why I do it. I use Editpad,
> which (so far) has not corrupted any image files.
Which EditPad version, and is it a "Lite" or "Pro" version?
EditPad "Pro" can open and edit a file like a "hex editor,"
which is no longer anything like a "text editor,"
but EditPad "Lite" displays arbitrary images as the kind of
horrible-looking mess that fits an unscientific description
such as "utter garbage," and any adjustment to "wrap" lines
or change line endings mangles that beyond recognition,
as well as beyond interpretation by any image viewer of mine,
as will any attempt to use windows' Notepad or Write
to re-save a simple image (GIF) that just happens to be on my desktop,
even without any attempt to actually perform any editing function.
> Your suggestion re: messing with an *.exe file is intriguing.
> May do that when I have some really idle moments. ;-)
My suggestion to the rest of the community is that re-saving an arbitrary file
using a text editor, rather than copying it using one's operating system's
generalized file copying function, is a bit like playing "Russian Roulette"
with its content, unless the total content of that file has been proved
to be a set of lines of text where every single line is within line length limits,
character set limits, and consistent line endings expected by that text editor,
or that your "text editor" is really a "binary file editor,"
which most of them are not, particularly not what comes with MS Windows.
There will always be someone, however, who regularly carries
spare gas in their car trunk using soda pop bottles rather than
approved gasoline containers, and so long as no member of my family is involved,
and so long as I at least once speak up to offer correct alternative info
to inexperienced people who don't yet know any better,
why should I care any further?
--