Try to improve toPrettyChars