Encode/decode working except special characters...