title: What is the most efficient way to encode an arbitrary GUID into readable ASCII (33-127)?
body: <p>The standard string representation of GUID takes about 36 characters. Which is very nice, but also really wasteful. I am wondering, how to encode it in the shortest possible way using all the ASCII characters in the range 33-127. The naive implementation produces 22 characters, simply because <strong>128 bits</strong> / <strong>6 bits</strong> yields 22.</p>
  
  <p>Huffman encoding is my second best, the only question is how to choose the codes....</p>
  
  <p>The encoding must be lossless, of course.</p>