aboutsummaryrefslogtreecommitdiff
path: root/src/wchars2bytes-help.pd
blob: fe6b5e9b11f1f2bad880a823cd8e8b87faca8e95 (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
#N canvas 0 26 488 455 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 "&auml &ouml &uuml" \, 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;
#N canvas 304 188 494 344 META 0;
#X text 12 125 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
Wilkes for Pd version 0.42.;
#X text 12 25 LICENSE GPL v2;
#X text 12 105 AUTHOR Bryan Jurish <moocow@ling.uni-potsdam.de>;
#X text 12 85 OUTLET_0 anything;
#X text 12 45 DESCRIPTION convert wide characters to (multiple) bytes
;
#X text 12 65 INLET_0 list;
#X text 12 5 KEYWORDS control conversion;
#X restore 436 432 pd META;
#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;