From 9f6510850e3782a22b0ac282161f5e1e7413f3f2 Mon Sep 17 00:00:00 2001 From: Bryan Jurish Date: Sun, 25 Jan 2009 22:16:17 +0000 Subject: + got 'wchars' objects working svn path=/trunk/externals/moocow/; revision=10638 --- pdstring+wchar/src/wchars2bytes-test.pd | 46 +++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 pdstring+wchar/src/wchars2bytes-test.pd (limited to 'pdstring+wchar/src/wchars2bytes-test.pd') diff --git a/pdstring+wchar/src/wchars2bytes-test.pd b/pdstring+wchar/src/wchars2bytes-test.pd new file mode 100644 index 0000000..2a5bcc5 --- /dev/null +++ b/pdstring+wchar/src/wchars2bytes-test.pd @@ -0,0 +1,46 @@ +#N canvas 376 34 606 300 10; +#X obj 114 136 bytes2wchars; +#X obj 138 168 print wchars; +#X obj 323 222 locale; +#X msg 323 149 get; +#X msg 359 199 set LC_CTYPE \$1; +#X obj 359 178 symbol; +#X msg 359 147 C; +#X msg 393 147 en_US.ISO-8859-1; +#X msg 515 147 en_US.UTF-8; +#X obj 322 246 print locale; +#X msg 37 41 246; +#X floatatom 56 178 5 0 0 0 - - -; +#X msg 37 61 195 182; +#X text 35 23 ö \;; +#X msg 159 61 197 147; +#X text 155 23 &oelig \;; +#X msg 159 39 339; +#X msg 245 37 960; +#X msg 245 59 207 128; +#X text 245 21 &pi \;; +#X obj 391 120 loadbang; +#X text 93 41 ucs-4; +#X text 95 59 utf-8; +#X msg 325 61 207 128 0 197 147 0 195 182 0; +#X obj 114 198 wchars2bytes; +#X obj 112 226 print bytes; +#X connect 0 0 1 0; +#X connect 0 0 11 0; +#X connect 0 0 24 0; +#X connect 2 0 9 0; +#X connect 3 0 2 0; +#X connect 4 0 2 0; +#X connect 5 0 4 0; +#X connect 6 0 5 0; +#X connect 7 0 5 0; +#X connect 8 0 5 0; +#X connect 10 0 0 0; +#X connect 12 0 0 0; +#X connect 14 0 0 0; +#X connect 16 0 0 0; +#X connect 17 0 0 0; +#X connect 18 0 0 0; +#X connect 20 0 7 0; +#X connect 23 0 0 0; +#X connect 24 0 25 0; -- cgit v1.2.1