Debian Codegraph @

examples/unidemo

raw
1 use blib;
2 use Tk;
3 use utf8;
4 my $mw = MainWindow->new;
5
6
7 my $t = $mw->Scrolled('Text', -font => [helvetica => 14],
8 #-font => $font
9 )->pack(-fill => both);
10 my $fh;
11 if (@ARGV)
12 {
13 open($fh,$ARGV[0]) || die "Cannot open $ARGV[0]:$!";
14 }
15 else
16 {
17 $fh = \*DATA;
18 }
19 binmode($fh,":utf8");
20
21 while (<$fh>)
22 {
23 $t->insert('end',$_);
24 }
25 MainLoop;
26
27 __DATA__
28
29 Sentences that contain all letters commonly used in a language
30 --------------------------------------------------------------
31
32 Markus Kuhn <[email protected]> -- 1999-08-27
33
34 This file is UTF-8 encoded.
35
36
37 German (de)
38 -----------
39
40 Falsches Üben von Xylophonmusik quält jeden größeren Zwerg
41 (= Wrongful practicing of xylophone music tortures every larger dwarf)
42
43 Zwölf Boxkämpfer jagten Eva quer über den Sylter Deich
44 (= Twelve boxing fighters hunted Eva across the dike of Sylt)
45
46 Heizölrückstoßabdämpfung
47 (= fuel oil recoil absorber) (jqvwxy missing, but all non-ASCII letters in one word)
48
49 English (en)
50 ------------
51
52 The quick brown fox jumps over the lazy dog
53
54 Spanish (es)
55 ------------
56
57 El pingüino Wenceslao hizo kilómetros bajo exhaustiva lluvia y
58 frío, añoraba a su querido cachorro.
59
60 (Contains every letter and every accent, but not every combination
61 of vowel + acute.)
62
63 French (fr)
64 -----------
65
66 Portez ce vieux whisky au juge blond qui fume sur son île intérieure, à
67 côté de l'alcôve ovoïde, où les bûches se consument dans l'âtre, ce
68 qui lui permet de penser à la cænogenèse de l'être dont il est question
69 dans la cause ambiguë entendue à Moÿ, dans un capharnaüm qui,
70 pense-t-il, diminue çà et là la qualité de son œuvre.
71
72 l'île exiguë
73 Où l'obèse jury mûr
74 Fête l'haï volapük,
75 Âne ex aéquo au whist,
76 Ôtez ce vœu déçu.
77
78 Le cœur déçu mais l'âme plutôt naïve, Louÿs rêva de crapaüter en
79 canoë au delà des îles, près du mälström où brûlent les novæ.
80
81 Irish Gaelic (ga)
82 -----------------
83
84 D'fhuascail Íosa, Úrmhac na hÓighe Beannaithe, pór Éava agus Ádhaimh
85
86 Icelandic (is)
87 --------------
88
89 Kæmi ný öxi hér ykist þjófum nú bæði víl og ádrepa
90
91 Sævör grét áðan því úlpan var ónýt
92 (some ASCII letters missing)
93
94 Japanese (jp)
95 -------------
96
97 Hiragana: (Iroha)
98
99 いろはにほへとちりぬるを
100 わかよたれそつねならむ
101 うゐのおくやまけふこえて
102 あさきゆめみしゑひもせす
103
104 Katakana:
105
106 イロハニホヘト チリヌルヲ ワカヨタレソ ツネナラム
107 ウヰノオクヤマ ケフコエテ アサキユメミシ ヱヒモセスン
108
109 Hebrew (iw)
110 -----------
111
112 ? דג סקרן שט בים מאוכזב ולפתע מצא לו חברה איך הקליטה
113
114 Polish (pl)
115 -----------
116
117 Pchnąć w tę łódź jeża lub ośm skrzyń fig
118
119 Russian (ru)
120 ------------
121
122 В чащах юга жил бы цитрус? Да, но фальшивый экземпляр!
123 (= Would a citrus live in the bushes of south? Yes, but only a fake one!)
124
125 Thai (th)
126 ---------
127
128 [--------------------------|------------------------]
129 ๏ เป็นมนุษย์สุดประเสริฐเลิศคุณค่า กว่าบรรดาฝูงสัตว์เดรัจฉาน
130 จงฝ่าฟันพัฒนาวิชาการ อย่าล้างผลาญฤๅเข่นฆ่าบีฑาใคร
131 ไม่ถือโทษโกรธแช่งซัดฮึดฮัดด่า หัดอภัยเหมือนกีฬาอัชฌาสัย
132 ปฏิบัติประพฤติกฎกำหนดใจ พูดจาให้จ๊ะๆ จ๋าๆ น่าฟังเอย ฯ
133
134 [The copyright for the Thai example is owned by The Computer
135 Association of Thailand under the Royal Patronage of His Majesty the
136 King.]
137
138 Please let me know if you find others! Special thanks to the people
139 from all over the world who contributed these sentences.