Home | Online Help | OS/2 | Enhanced E Editor | Enhanced E Editor - Mime decoding

Enhanced E Editor - Mime decoding

Sponsored Link:

Mime decoding (base 64) is available by highlighting the mime section of any file and selecting the "Mime decode" menu item. The decoding option is quite slow right now but hopefully we will find the same increase in speed that we were able to find with the TXT2IPF services.

This was added because of a local situation. My nephew sends WAV files once in a while and they are always inline rather than attached. My emailer (MR2ICE) does attachments beautifully but when they are in the message instead of attached, I could find no way to get them decoded. I worked on a decoder enough to get one working and put it in the editor. Now I could at least save the message from my email as a file and use the editor to decode it.

To decode a section of a file you must:

  • Highlight the portion of the file that is encoded.
  • Select "Mime decode" from the "Options" menu.
  • Enter the target filename.
  • Select the "Continue" button.

The mimed portion should be a solid block of characters. The block of chars may or may not include 1 or 2 "Equal" signs at the end and never any spaces. Be sure to include the "equal" signs in the section that is highlighted. There is no way for me to make sure you only highlight the mime block but if you're careful, it should work.

To select large expanses of encoded data you can remember a couple of tricks. Set the cursor just before the first character of the actual mime code. While holding down the <shift> and the <control> keys, press the <end> key. The highlighting should now be from the first character to the end of the file. If you need to deselect any characters at the end of the file you can use the arrow keys while the <shift> and the <control> keys are still depressed.

Conversely, the <home> key will take the highlight to the top of the file while the <shift> and the <control> keys are depressed.

There are no guarantees as to the usefulness or validity of this utility. I haven't been able to study the mime format in depth but have taken only enough time to learn enough about it to suit my needs elsewhere. It has been added to the editor in hopes that it will be useful to you.

I got too involved in this and did a uudecoder too but just can't see the value in adding more of this junk. A guy may be better off doing it as a plugin.

<Html Stripping Support Enhanced E Editor Multiple Language Support>