mirror of
https://github.com/ascii-boxes/boxes.git
synced 2024-12-14 19:00:40 +01:00
fc7f881767
so that they don't fail on systems where UTF-8 is not properly set on the terminal #1
54 lines
1.0 KiB
Plaintext
54 lines
1.0 KiB
Plaintext
: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
|