picolisp

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/picolisp.git/
Log | Files | Refs | README | LICENSE

utf8 (761B)


      1          UTF-8 Format
      2 
      3 # Encoding for zero is different from Java
      4 # Special character 0xFF (char T)
      5 
      6    0000 .. 007F   0xxxxxxx
      7                    6     0
      8 
      9 
     10    0080 .. 07FF   110xxxxx 10xxxxxx
     11                      A   6   5    0
     12 
     13 
     14    0800 .. FFFF   1110xxxx 10xxxxxx 10xxxxxx
     15                       F  C   B    6   5    0
     16 
     17 
     18 
     19          Umlaute
     20 
     21 ÿ
     22 äöüÄÖÜß
     23 äöüÄÖÜß
     24 
     25 Ä|Ä|   # C3 84  <-> C4
     26 Ö|Ö|   # C3 96  <-> D6
     27 Ü|Ãœ|   # C3 9C  <-> DC
     28 ä|ä|    # C3 A4  <-> E4
     29 ö|ö|    # C3 B6  <-> F6
     30 ü|ü|    # C3 BC  <-> FC
     31 ß|ß|   # C3 9F  <-> DF
     32 
     33 Paragraph         # C2 A7     <-> A7
     34 EUR (8364 "20AC") # E2 82 AC  <-> A4
     35 
     36 tr -d '\303' |tr '\204\226\234\244\266\274\237' 'ÄÖÜäöüß'
     37 
     38 (out "Nagoya"
     39    (prinl (char (hex "540D")) (char (hex "53E4")) (char (hex "5C4B"))) )