Add UTF-8 encoding support