aboutsummaryrefslogtreecommitdiff
path: root/src/pdstring-help.pd
blob: b4bc97dab47231d4d7e70b1d0b3c5c0af9a32584 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
#N canvas 193 20 501 441 10;
#X text 199 414 Bryan Jurish <moocow@ling.uni-potsdam.de>;
#X text 54 3 [pdstring] library : byte and wide-character strings;
#X obj 51 76 bytes2any;
#X obj 51 52 any2bytes;
#X text 148 77 convert byte strings to pd messages;
#X text 148 53 convert pd messages to byte strings;
#X obj 43 154 bytes2wchars;
#X text 145 155 convert byte strings to wide character strings;
#X obj 43 180 wchars2bytes;
#X text 146 181 convert wide character strings to byte strings;
#X text 20 133 BYTES <-> WIDE CHARACTERS;
#X text 26 33 BYTES <-> PD MESSAGES;
#X text 18 233 WIDE CHARACTERS <-> PD MESSAGES;
#X text 143 255 convert pd messages to wide character strings;
#X text 144 281 convert wide character strings to pd messages;
#X text 21 383 SEE ALSO:;
#N canvas 0 0 584 308 pdstring-bytes 0;
#X floatatom 56 81 8 0 0 0 - - -;
#X symbolatom 46 59 10 0 0 0 - - -;
#X text 201 59 ... no special handling for symbols;
#X text 200 37 anything can be converted to a list...;
#X floatatom 54 178 4 0 0 0 - - -;
#X text 202 81 ... but "float" selector is silently dropped;
#N canvas 0 0 448 335 ascii-table 0;
#X obj 162 144 f 0;
#X obj 134 153 + 1;
#X obj 161 165 t f f f;
#X obj 154 243 pack s 0;
#X obj 162 119 until;
#X obj 133 218 symbol;
#X msg 162 84 256;
#X msg 208 119 0;
#X obj 162 23 inlet;
#X obj 162 54 t b b;
#X obj 154 266 route list;
#X obj 154 293 print charset;
#X obj 133 198 bytes2any;
#X connect 0 0 2 0;
#X connect 1 0 0 1;
#X connect 2 0 1 0;
#X connect 2 1 12 0;
#X connect 2 2 3 1;
#X connect 3 0 10 0;
#X connect 4 0 0 0;
#X connect 5 0 3 0;
#X connect 6 0 4 0;
#X connect 7 0 0 1;
#X connect 8 0 9 0;
#X connect 9 0 6 0;
#X connect 9 1 7 0;
#X connect 10 0 11 0;
#X connect 10 1 11 0;
#X connect 12 0 5 0;
#X restore 289 156 pd ascii-table;
#X msg 289 133 bang;
#X msg 37 38 A B C;
#X msg 55 199 list 49 50 51;
#X obj 58 139 print any2bytes-out;
#X obj 37 108 any2bytes;
#X obj 37 254 print bytes2any-out;
#X obj 37 230 bytes2any;
#X text 289 173 ... know your character set;
#X text 213 230 bytes2any converts byte lists to Pd messages...;
#X connect 0 0 11 0;
#X connect 1 0 11 0;
#X connect 4 0 13 0;
#X connect 7 0 6 0;
#X connect 8 0 11 0;
#X connect 9 0 13 0;
#X connect 11 0 10 0;
#X connect 11 0 13 0;
#X connect 13 0 12 0;
#X restore 90 382 pd pdstring-bytes;
#N canvas 0 0 584 308 pdstring-wchars 0;
#X floatatom 56 81 8 0 0 0 - - -;
#X symbolatom 46 59 10 0 0 0 - - -;
#X text 201 59 ... no special handling for symbols;
#X text 200 37 anything can be converted to a list...;
#X floatatom 54 178 4 0 0 0 - - -;
#X text 202 81 ... but "float" selector is silently dropped;
#X msg 37 38 A B C;
#X msg 55 199 list 49 50 51;
#X obj 37 254 print wchars2any-out;
#X text 213 230 wchars2any converts wchar lists to Pd messages...;
#X obj 58 139 print any2wchars-out;
#X obj 37 108 any2wchars;
#X obj 37 230 wchars2any;
#X connect 0 0 11 0;
#X connect 1 0 11 0;
#X connect 4 0 12 0;
#X connect 6 0 11 0;
#X connect 7 0 12 0;
#X connect 11 0 10 0;
#X connect 11 0 12 0;
#X connect 12 0 8 0;
#X restore 220 382 pd pdstring-wchars;
#X obj 41 254 any2wchars;
#X obj 41 280 wchars2any;
#X obj 356 382 locale;
#X text 21 317 NOTE:;
#X text 29 333 Wide character support requires locale support to be
enabled \, e.g. by the [locale] external.;
#X obj 51 100 printbytes;
#X obj 43 203 printwchars;
#X text 148 203 print wide character strings to pd console;
#X text 149 100 print byte strings to pd console;