diff options
author | Bryan Jurish <mukau@users.sourceforge.net> | 2009-01-25 22:23:14 +0000 |
---|---|---|
committer | Bryan Jurish <mukau@users.sourceforge.net> | 2009-01-25 22:23:14 +0000 |
commit | 12fa815248c4b98948afa36388418de0d0ead4a4 (patch) | |
tree | b64a3b3412097545fc7f37e753acef6a12177a3c /src/bytes2wchars-help.pd | |
parent | 76117ae3455718e7614caaa4f74dbd6f5ab98e72 (diff) |
+ merged pstring+wchar changes from r10606:10638 into pdstring
svn path=/trunk/externals/moocow/pdstring/; revision=10639
Diffstat (limited to 'src/bytes2wchars-help.pd')
-rw-r--r-- | src/bytes2wchars-help.pd | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/src/bytes2wchars-help.pd b/src/bytes2wchars-help.pd new file mode 100644 index 0000000..3d3d0b6 --- /dev/null +++ b/src/bytes2wchars-help.pd @@ -0,0 +1,46 @@ +#N canvas 610 14 566 410 10; +#X text 81 5 bytes2wchars : convert bytes to wide characters; +#X text 11 27 SYNTAX: bytes2wchars [INITIAL_BUFSIZE]; +#X text 11 46 INLETS:; +#X text 241 48 OUTLETS:; +#X text 19 62 1 - byte-valued float lists; +#X text 257 62 1 - wchar_t-valued float lists; +#X obj 24 310 bytes2wchars; +#X obj 24 334 print bytes2wchars-help; +#X msg 24 95 97 32 98 32 99; +#X msg 41 227 228 246 252; +#X msg 71 159 C; +#X text 69 129 8-bit values are interpreted according to the current +locale's LC_CTYPE category: here are some examples:; +#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 msg 45 255 195 164 195 182 195 188; +#X text 219 253 ... the same string encoded in UTF-8; +#X text 205 387 Bryan Jurish <moocow@ling.uni-potsdam.de>; +#X text 11 371 SEE ALSO:; +#X obj 26 388 pdstring; +#X obj 93 388 locale; +#X text 11 355 BUGS: float representation is only safe up to 24-bit +values; +#X msg 103 159 en_DK.ISO-8859-1; +#X msg 225 159 en_DK.UTF-8; +#X text 145 97 Values <= 127 are unchanged; +#X msg 49 281 207 128 206 180; +#X text 217 225 ISO-8859-1 bytes "ä \, ö \, ü"; +#X text 219 283 "&pi &delta" in UTF-8; +#X connect 6 0 7 0; +#X connect 8 0 6 0; +#X connect 9 0 6 0; +#X connect 10 0 12 0; +#X connect 13 0 6 0; +#X connect 20 0 12 0; +#X connect 21 0 12 0; +#X connect 23 0 6 0; |