File: 106_unicode_align_center.txt

package info (click to toggle)
boxes 2.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,800 kB
  • sloc: ansic: 10,566; lex: 517; sh: 503; makefile: 309; yacc: 272; lisp: 78
file content (53 lines) | stat: -rw-r--r-- 1,028 bytes parent folder | download | duplicates (2)
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