allow other encoding options than escape and unescape