[issue42290] Unicode inconsistent display after concencated

2020-11-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Xia, when saying 'unexpected', one usually needs to also say what was expected. When discussing mixed direction chars, we need to be especially careful in describing what we see with different terminals, different browsers, and different OSes. Steven: On

[issue42290] Unicode inconsistent display after concencated

2020-11-09 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42290] Unicode inconsistent display after concencated

2020-11-07 Thread Steven D'Aprano
Steven D'Aprano added the comment: Works for me: >>> chr(1839)+'1' 'ܯ1' You are mixing a right-to-left code point (DHALATH) with a left-to-right code point (digit 1). The result depends on the quality of your console or terminal. Try using a different terminal. On my system, the terminal

[issue42290] Unicode inconsistent display after concencated

2020-11-07 Thread Xinmeng Xia
New submission from Xinmeng Xia : When printing an assignment expression with unicode ܯ ( \U+072F) on the command line, we get an unexpected result. Example A: >>> print(chr(1839)+" = 1") ܯ = 1 Similar problems exist in plenty of characters of unicode. -- components: Unicode