fix ttl character encoding issues