Default to UTF-8 for encoding and decoding