-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
best practices for encoding control characters? #164
Comments
Although it's not advertised anywhere in its documentation (as far as I checked), If I had to make a suggestion, I would recommend:
Regarding your other proposals:
|
should I close this issue or wait until I open a PR? |
I suggest we keep this issue open until a fix is merged. |
When encoding terminal output that includes control characters (e.g.
ESC
) into XML,renderText
produces valid utf-8 that's invalid XML.Is there some established way of handling this case? If not, If I were to make a PR to make
renderText
more resilient to this, what would be the preferred direction?The text was updated successfully, but these errors were encountered: