× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Vengoal,
I need the unix tools uuencode and uudecode on AS/400, but IBM tools
5799-PTL GNU does not include these two. Where can I get these tools or
source ?
Frankly, I would think long and hard before using uuencode or uudecode in an i5/OS application. There are very good reasons why the IETF didn't use these techniques when they created the MIME standards for e-mail.

One particular consideration that's very important: uuencode does not stick to invariant characters! That means that translating the data from ASCII to EBCDIC can cause the byte values to change. And since uudecode doesn't have a way to detect that something was changed, it'll simply write a corrupted object when it decodes it, and produce no errors. It's not just ASCII/EBCDIC either, converting between any different character sets (for example, when sending data between people in different countries or cultures) can cause the same sort of corruption.

Base64 was introduced to solve all of these problems. It works VERY similarly to uuencode/uudecode, but fixes all of the problems with uuencode and uudecode. There's no disadvantage to using base64 instead of uuencode/decode.

That's why all of the Internet standards that require this type of technology all specify base64. It's just a better tool.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.