X-Git-Url: http://git.shiar.net/unicode-sampler.git/blobdiff_plain/92dd15f7226e435485e74a8faf83190cdc624f63..5e7af1d468533ac0a915a0089b47e024ec857f50:/unicode.txt diff --git a/unicode.txt b/unicode.txt index abe215c..08b3201 100644 --- a/unicode.txt +++ b/unicode.txt @@ -1,15 +1,19 @@ +Unicode sampler +‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ +Test support of various text encoded with Unicode up to version 8.0 (2015). -UTF-8 encoded sample plain-text file -‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ +Based on text by Markus Kuhn +Updated by Mischa Poslawsky 2015-08-19 -Markus Kuhn [ˈmaʳkʊs kuːn] — 2002-07-25 +Code: +

 
-The ASCII compatible UTF-8 encoding used in this plain-text file
-is defined in Unicode, ISO 10646-1, and RFC 2279.
+  Hash[ :nbsp => 0O2_40 ].each {|name, cp| puts "#{name} is '#{cp.chr}'" }
 
+  perl -pe's/\w/$^=~$&>chop($^=$&.$^)?"@-":$&/ge'
 
-Using Unicode/UTF-8, you can write in emails and source code things such as
+  ↑1 ⍵∨.∧3 4=+/,¯1 0 1∘.⊖¯1 0 1⌽¨⊂⍵ ⍝ game of life
 
 Mathematics and sciences:
 
@@ -34,11 +38,6 @@ English panphone (traditional, IPA, Braille):
   ⠠⠚⠀⠵⠀⠮⠀⠠⠋⠗⠢⠡⠀⠟⠥⠑⠢⠀⠇⠕⠕⠅⠫⠀⠿⠀⠭⠂⠀⠩⠑⠀⠓⠑⠜⠙⠀⠞⠀⠎⠽⠍⠏⠓⠕⠝⠽⠀⠁⠛⠲
   ⠠⠁⠀⠃⠑⠊⠛⠑⠀⠓⠥⠑⠀⠕⠝⠀⠮⠀⠺⠁⠞⠻⠎⠀⠷⠀⠮⠀⠇⠕⠡⠀⠊⠍⠏⠗⠑⠎⠎⠫⠀⠁⠇⠇⠂⠀⠔⠉⠇⠥⠙⠬⠀⠐⠽⠀⠠⠜⠹⠥⠗⠲
 
-APL:
-
-  ((V⍳V)=⍳⍴V)/V←,V    ⌷←⍳→⍴∆∇⊃‾⍎⍕⌈
-  ↑1 ⍵∨.∧3 4=+/,¯1 0 1∘.⊖¯1 0 1⌽¨⊂⍵ ⍝ game of life
-
 Nicer typography in plain text files:
 
   ╔══════════════════════════════════════════╗