Version 0.88.4. Fixed encode_string so empty strings will be accepted