android_terminal/tests/wideChars/overwriting4.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
555 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.

Overwriting a narrow character with an East Asian wide character:
xxx ESC [ D 中:
xxx中
xxx ESC [ 3 D 中:
xxx中
Overwriting a narrow character with an East Asian wide character, in the middle
of an 80-column line with mixed narrow and wide chars:
xxx[...]xxx中文xxx[...]xxx你好xESC [ 25 G 版:
xxxxxxxxxxxxxxxxxxxx中文xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx你好x版
xxx[...]xxx中文y。xxx[...]xxx你好ESC [ 25 G 版:
xxxxxxxxxxxxxxxxxxxx中文y。xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx你好版