aboutsummaryrefslogtreecommitdiff
path: root/pdstring+wchar/src/wchars2bytes-help.pd
diff options
context:
space:
mode:
Diffstat (limited to 'pdstring+wchar/src/wchars2bytes-help.pd')
-rw-r--r--pdstring+wchar/src/wchars2bytes-help.pd44
1 files changed, 44 insertions, 0 deletions
diff --git a/pdstring+wchar/src/wchars2bytes-help.pd b/pdstring+wchar/src/wchars2bytes-help.pd
new file mode 100644
index 0000000..b892bea
--- /dev/null
+++ b/pdstring+wchar/src/wchars2bytes-help.pd
@@ -0,0 +1,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 "&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;
+#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;