As the first step in the decommissioning of the site has been converted to read-only mode.

Here are some tips for How to share your SAS knowledge with your professional network.

Garbled SAS-L Posts

From sasCommunity
Jump to: navigation, search

Base 64 Decode Failure

For some reason, an encoded message was not decoded. Instead, the raw encoded stream is displayed. It looks like this

[many lines omitted here]

This was abridged from an actual SAS-L post; follow the link to see it in its entirety.

So, a decoder is needed. Nowadays these are available online. One is at To see how it works, follow the above SAS-L link and copy the entire garbled message. Then go to the decoder page, paste into the big text box, and click the Decode button. In this particular case, that makes the content intelligible, but it's all rendered as a single stream (the newlines are lost). There are two ways to deal with this. One is to go back to the decoder page and click the Safe Decode as Text button. The other is to have your browser display (unrendered) source; for example, in Firefox 2, select View:PageSource or key CTRL-U.

Posts can also be ungarbled within a SAS data step. Take a look at the paper by Erik Telanus

Other Garbling Phenomena