Erik Myllymaki <erik at pacific-shores.com> writes: > The '_' and '!' were in the original string that was then encoded, not > in the resulting encoded string. So why are you passing the original string to decodestring, then? Regards, Martin