/usr/lib/pd/extra/pdstring/wchars2bytes-help.pd is in pd-pdstring 0.10.2-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | #N canvas 66 8 522 426 10;
#X text 11 46 INLETS:;
#X text 269 48 OUTLETS:;
#X text 283 64 1 - byte-valued float lists;
#X text 21 62 1 - wchar_t-valued float lists;
#X msg 24 95 97 32 98 32 99;
#X msg 45 229 228 246 252;
#X msg 71 159 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 103 190 pd locale_LC_CTYPE;
#X text 213 393 Bryan Jurish <moocow@ling.uni-potsdam.de>;
#X text 9 377 SEE ALSO:;
#X obj 24 394 pdstring;
#X obj 91 394 locale;
#X text 11 355 BUGS: float representation is only safe up to 24-bit
values;
#X text 81 5 wchars2bytes : convert wide characters to (multiple) bytes
;
#X text 11 27 SYNTAX: wchars2bytes [INITIAL_BUFSIZE];
#X msg 103 159 en_DK.ISO-8859-1;
#X msg 225 159 en_DK.UTF-8;
#X text 69 129 Greater values are interpreted according to the current
locale's LC_CTYPE category: here are some examples:;
#X text 145 97 Values <= 127 are unchanged;
#X msg 47 260 960 948;
#X text 157 229 "ä ö ü" \, ISO-8859-1 safe;
#X text 159 259 "&pi &delta" \, not ISO-8859-1 safe;
#X obj 24 310 wchars2bytes;
#X obj 24 334 print wchars2bytes-help;
#X connect 4 0 22 0;
#X connect 5 0 22 0;
#X connect 6 0 7 0;
#X connect 15 0 7 0;
#X connect 16 0 7 0;
#X connect 19 0 22 0;
#X connect 22 0 23 0;
|