1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
:DESC
Test center alignment of unicode text without escape sequences mixed in, but with some chars in double-width
(chinese). We always set the charset manually because else the build would fail on systems which have it set wrong.
:ARGS
-n UTF-8 -ac
:INPUT
a
ab
abc
abcd
abcde
abcdef
abcdefg
abcdefgh
試
常盤
運作能
申見売映
海棋事行変
ä
äb
äbç
äbçd
äbçdé
äbçdéf
äbçdéfg
äbçdéfgh
:OUTPUT-FILTER
:EXPECTED
/**************/
/* a */
/* ab */
/* abc */
/* abcd */
/* abcde */
/* abcdef */
/* abcdefg */
/* abcdefgh */
/* 試 */
/* 常盤 */
/* 運作能 */
/* 申見売映 */
/* 海棋事行変 */
/* ä */
/* äb */
/* äbç */
/* äbçd */
/* äbçdé */
/* äbçdéf */
/* äbçdéfg */
/* äbçdéfgh */
/**************/
:EOF
|