#249 Not all ASCII control-character abbreviations are recognized

HEAD
closed
nobody
None
1
2014-09-23
2013-01-12
stassats
No
   (remove-if #'name-char
              '((#x00 "Nul") (#x01 "Soh") (#x02 "Stx") (#x03 "Etx") (#x04 "Eot")
                (#x05 "Enq") (#x06 "Ack") (#x07 "Bel") (#x08 "Bs") (#x09 "Ht") (#x0A "Lf")
                (#x0B "Vt") (#x0C "Ff") (#x0D "Cr") (#x0E "So") (#x0F "Si")
                (#x10 "Dle") (#x11 "Dc1") (#x12 "Dc2") (#x13 "Dc3") (#x14 "Dc4")
                (#x15 "Nak") (#x16 "Syn") (#x17 "Etb") (#x18 "Can") (#x19 "Em")
                (#x1A "Sub") (#x1B "Esc") (#x1C "Fs") (#x1D "Gs") (#x1E "Rs")
                (#x1F "Us") (#x20 "Sp") (#x7f "Del"))
              :key #'second)
   =>
   ((8 "Bs") (9 "Ht") (10 "Lf") (12 "Ff") (13 "Cr") (32 "Sp") (127 "Del"))

Discussion

  • Works with the fix I upload now

    (remove-if #'name-char
    '((#x00 "Nul") (#x01 "Soh") (#x02 "Stx") (#x03 "Etx") (#x04 "Eot")
    (#x05 "Enq") (#x06 "Ack") (#x07 "Bel") (#x08 "Bs") (#x09 "Ht") (#x0A "Lf")
    (#x0B "Vt") (#x0C "Ff") (#x0D "Cr") (#x0E "So") (#x0F "Si")
    (#x10 "Dle") (#x11 "Dc1") (#x12 "Dc2") (#x13 "Dc3") (#x14 "Dc4")
    (#x15 "Nak") (#x16 "Syn") (#x17 "Etb") (#x18 "Can") (#x19 "Em")
    (#x1A "Sub") (#x1B "Esc") (#x1C "Fs") (#x1D "Gs") (#x1E "Rs")
    (#x1F "Us") (#x20 "Sp") (#x7f "Del"))
    :key #'second)

    NIL

     


Anonymous


Cancel   Add attachments