Eryk Sun <[email protected]> added the comment:
The terminal you're using apparently implements C1 controls [1]. U+009B is the
Control Sequence Introducer (CSI) for ANSI escape sequences. U+0090 starts a
Device Control String (DCS), and it gets terminated by U+009C, a String
Terminator (ST). For example, in GNOME Terminal in Linux:
>>> print('spam\x9b4Deggs')
eggs
>>> print('spam\x90some DCS string\x9c')
spam
---
[1] https://en.wikipedia.org/wiki/C0_and_C1_control_codes
----------
nosy: +eryksun
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue42020>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com