Message401086
> I think you may be mistaken. In Max's original post, he has
> s = '000X'
It displays that way for me under Firefox in Linux, but what's really there when I copy it from Firefox is '0\U0001090000', which matches the result Max gets for individual index operations such as s[1].
The "0" characters following the R-T-L character have weak directionality. So the string displays the same as "000\U00010900". If you print with spaces and use a number sequence, the substring starting with the R-T-L character should display reversed, i.e. print(*'123\U00010900456') should display the same as print(*'123654\U00010900'). But "abc" in print(*'123\U00010900abc') should not display reversed since it has L-T-R directionality. |
|
Date |
User |
Action |
Args |
2021-09-05 13:56:38 | eryksun | set | recipients:
+ eryksun, vstinner, ezio.melotti, steven.daprano, maxbachmann |
2021-09-05 13:56:38 | eryksun | set | messageid: <1630850198.37.0.897084267297.issue45105@roundup.psfhosted.org> |
2021-09-05 13:56:38 | eryksun | link | issue45105 messages |
2021-09-05 13:56:38 | eryksun | create | |
|