Converted control characters in edit fields
Posted: Thu Apr 16, 2020 3:48 pm
I have a RichEdit text field F.E into which I copy each ASCII character between ordinal 0 to 127. When I look at the text in the session I get the following:
I notice some strange characters at the beginning of the second to last line so I run
Why are ASCII 14 to 26, 28 and 29 converted to some other characters? Also "^" (ASCII 94) has been replaced with Unicode LOGICAL AND (U+2227 = 8743). I run Dyalog APL 16.0 Classic.
Code: Select all
'F.E' ⎕WG 'Text'
\0
┼∧┘┐┌└┼─├┤┴┬│'| !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]∧_`abcdefghijklmnopqrstuvwxyz{|}~
I notice some strange characters at the beginning of the second to last line so I run
Code: Select all
⎕UCS 'F.E' ⎕WG 'Text'
92 48 1 2 3 4 5 6 7 8 9 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
12 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
619 94 9496 9488 9484 9492 9532 9472 9500 9508 9524 9516 9474 27 180 8739 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
85 86 87 88 89 90 91 92 93 8743 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116
32 32 32 32 32 32 32 32 32 32 32
32 32 32 32 32 32 32 32 32 32 32
32 32 32 32 32 32 32 32 32 32 32
117 118 119 120 121 122 123 124 125 126 127
Why are ASCII 14 to 26, 28 and 29 converted to some other characters? Also "^" (ASCII 94) has been replaced with Unicode LOGICAL AND (U+2227 = 8743). I run Dyalog APL 16.0 Classic.