Encode Decode

This encoding issue is driving me crazy