diff options
Diffstat (limited to 'src/printbytes-test.pd')
-rw-r--r-- | src/printbytes-test.pd | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/src/printbytes-test.pd b/src/printbytes-test.pd new file mode 100644 index 0000000..e2e23e9 --- /dev/null +++ b/src/printbytes-test.pd @@ -0,0 +1,45 @@ +#N canvas 30 10 564 356 10; +#X obj 36 280 printbytes; +#X msg 33 21 A B C; +#X obj 36 106 any2bytes; +#X obj 78 134 print any2bytes; +#X obj 76 160 bytes2any; +#X obj 124 184 print bytes2any; +#X obj 260 80 wchars2bytes; +#X msg 311 287 C; +#N canvas 0 0 338 182 locale_LC_CTYPE 0; +#X obj 48 124 locale; +#X obj 48 36 inlet; +#X obj 48 64 symbol; +#X msg 48 92 set LC_CTYPE \$1; +#X text 57 143 + requires the "locale" external; +#X connect 1 0 2 0; +#X connect 2 0 3 0; +#X connect 3 0 0 0; +#X restore 343 318 pd locale_LC_CTYPE; +#X msg 343 287 en_DK.ISO-8859-1; +#X msg 465 287 en_DK.UTF-8; +#X msg 259 27 228 246 252; +#X msg 287 50 960 948; +#X text 343 27 "ä ö ü"; +#X text 341 51 "&pi &delta"; +#X obj 300 108 print wchars2bytes; +#X obj 258 160 printbytes wbytes; +#X obj 36 228 list prepend myString; +#X obj 36 250 list trim; +#X msg 211 209 65 0 66 0 67 0; +#X connect 1 0 2 0; +#X connect 2 0 3 0; +#X connect 2 0 4 0; +#X connect 2 0 17 0; +#X connect 4 0 5 0; +#X connect 6 0 15 0; +#X connect 6 0 16 0; +#X connect 7 0 8 0; +#X connect 9 0 8 0; +#X connect 10 0 8 0; +#X connect 11 0 6 0; +#X connect 12 0 6 0; +#X connect 17 0 18 0; +#X connect 18 0 0 0; +#X connect 19 0 17 0; |