random c code sample
[unicode-sampler.git] / unicode.txt
index 9432d11f74f49332539228b530759ef315e18169..cf94db3f0b948f4674a9b557c900ae7b35418b85 100644 (file)
@@ -11,6 +11,8 @@ Code:
 
   Hash[ :nbsp => 0O2_40 ].each {|name, cp| puts "#{name} is '#{cp.chr}'" }
 
+  while ((c = *l++) != '\0') { m->stat[2] = IO | (~OK & X_8); }
+
   perl -pe's/\w/$^=~$&>chop($^=$&.$^)?"@-":$&/ge'
 
   ↑1 ⍵∨.∧3 4=+/,¯1 0 1∘.⊖¯1 0 1⌽¨⊂⍵ ⍝ game of life
@@ -59,20 +61,11 @@ English panphone (traditional, IPA, Shavian, Braille):
 
 Proper typography:
 
-  • ‘single’ and “double” quotes
-
-  • Curly apostrophes: “We’ve been here”
-
-  • Latin-1 apostrophe and accents: '´`
-
-  • ‚deutsche‘ „Anführungszeichen“
-
-  • †, ‡, ‰, •, 3–4, —, −5/+5, ™, …
-
-  • ASCII safety test: 1lI|, 0OD, 8B
-                     ╭─────────╮
-  • the euro symbol: │ 14.95 € │
-                     ╰─────────╯
+  • Lookalikes: 1lI|, 0OD, 8B, 2Z, 5S$
+  • “It’s ‘quoted’”, „deutsche ‚Gänsefüßchen‘“, « guillemets ‹comme ci› »
+  • u + ¨ + ´ = ǘ, o + ~ + ¯ = ȭ, e + ^ + ` = ề
+  • ‰, •, 3–4, —, −5/+5, ™, €1, …
+  • ⒈ ♙e4 ♟e5 ⒉ f4 e×f4 ⒊ ♗c4 ♛h4† ⒋ ♔f1 b5⁈ ⒌ ♗×b5 ♞f6 ⒍ ♘f3 ♛h6 … 2⒊ ♗e7‡
 
 Precomposed and combining diacritics: