boxes/test/106_unicode_align_center.txt
Thomas Jensen fc7f881767
Explicitly set UTF-8 charset in unicode test cases
so that they don't fail on systems where UTF-8 is not properly set on the terminal #1
2021-02-15 21:10:54 +01:00

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