android_terminal/tests/wideChars/overwriting5.txt
Steven Luo 0da354d0a2 Add some torture tests for Unicode support
These are a set of specially-crafted text files designed to exercise
most of the corner cases in the Unicode support code, particularly
FullUnicodeLine.setChar()'s support for overwriting screen columns with
changes in sequence lengths and display widths.  For best (worst?)
results, use the tests in vttest mode; the lines of exactly 80 columns
will be more likely to uncover bugs that way.
2014-06-08 14:50:28 -07:00

17 lines
577 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Inserting a narrow character into the middle of an East Asian wide character:
中国 ESC [ D x:
中国x
xxx中文 ESC [ D x:
xxx中文x
Inserting a narrow character into the middle of an East Asian wide character,
in the middle of an 80-column line with mixed narrow and wide chars:
xxx[...]xxx中文xxx[...]xxx你好xESC [ 24 G y:
xxxxxxxxxxxxxxxxxxxx中文xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx你好xy
xxx[...]xxx中文。xxx[...]xxx你好ESC [ 24 G y:
xxxxxxxxxxxxxxxxxxxx中文。xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx你好y