XML Feeds

.

[maxmsp] accent problem when Max write a .txt file

bertrand gondouin at gmail.com
Mon Feb 18 01:32:18 MST 2008


Hello,

I think max write  txt files in mac-roman  encoding.

Bertrand

2008/2/17, cedric dumetz <cedricdumetz at hotmail.com>:
>
>  Hi list,
>
> I've made a patch who write a .txt file.
> a second patch read it, and put it in a jit.window (i use Flash to do this)
> It's don't work with accent caracters.
> flash read the utf-8.
> I don't know what is the format of the .txt in Max.
>
> i've wrote éèçàù in max
> i've Ž ˆ in the .txt
>
> Why ?
>
> Thanks in advance for your help
>
>
> max v2;
> #N vpatcher 15 55 728 700;
> #P origin 11 2;
> #P button 29 114 39 0;
> #P window setfont 'Sans Serif' 18.;
> #P window linecount 1;
> #P comment 70 122 86 9109522 Validation;
> #P button 278 272 15 0;
> #P window setfont 'Sans Serif' 9.;
> #P message 381 335 303 9109513 bang;
> #P newex 381 247 57 9109513 prepend set;
> #P message 297 461 251 9109513 &nom= bang &;
> #P newex 298 437 57 9109513 prepend set;
> #P newex 284 300 53 9109513 t b b b b;
> #P newex 296 273 45 9109513 loadbang;
> #P newex 380 355 74 9109513 prepend append;
> #P newex 320 356 57 9109513 prepend set;
> #P message 298 395 374 9109513 &nom= bang;
> #P message 320 333 46 9109513 &nom=;
> #P newex 298 415 47 9109513 append &;
> #P newex 131 524 49 9109513 delay 100;
> #P hidden button 148 506 15 0;
> #P hidden button 130 506 15 0;
> #P hidden newex 115 446 27 9109513 i;
> #P hidden newex 115 470 40 9109513 change;
> #P hidden toggle 118 424 15 0;
> #P hidden newex 118 401 31 9109513 == 13;
> #P hidden number 117 381 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
> #P hidden newex 67 499 43 9109513 onebang;
> #P hidden newex 66 471 45 9109513 loadbang;
> #P hidden newex 406 227 38 9109513 sel 13;
> #P hidden newex 365 227 40 9109513 t clear;
> #P hidden newex 365 280 95 9109513 jit.str.fromsymbol;
> #P hidden newex 348 181 56 9109513 route text;
> #P user textedit 29 89 328 109 32896 139 9;
> #P newex 297 485 40 9109513 t b b l;
> #P newex 200 469 45 9109513 loadbang;
> #P message 214 545 33 9109513 dump;
> #P button 200 495 15 0;
> #P message 273 547 62 9109513 write nom.txt;
> #P hidden message 68 527 28 9109513 clear;
> #P message 197 519 61 9109513 read nom.txt;
> #P newex 204 580 59 9109513 text nom.txt;
> #B color 5;
> #P window setfont 'Sans Serif' 12.;
> #P window linecount 2;
> #P comment 24 52 309 9109516 write a sentence \, press return \, and click
> on validate button;
> #P user panel 22 49 315 112;
> #X brgb 255 127 127;
> #X frgb 0 0 0;
> #X border 0;
> #X rounded 0;
> #X shadow 0;
> #X done;
> #P hidden fasten 14 0 10 0 411 171 34 171;
> #P hidden connect 13 0 10 0;
> #P hidden connect 10 1 16 0;
> #P hidden connect 16 0 4 0;
> #P hidden connect 15 0 16 1;
> #P connect 24 0 16 1;
> #P hidden connect 19 0 21 0;
> #P hidden connect 21 0 20 0;
> #P hidden connect 10 1 17 0;
> #P hidden connect 17 0 18 0;
> #P hidden connect 18 0 19 0;
> #P hidden connect 20 1 22 0;
> #P connect 22 0 24 0;
> #P hidden connect 19 0 21 1;
> #P hidden connect 20 2 23 0;
> #P hidden connect 6 0 3 0;
> #P hidden connect 8 0 6 0;
> #P hidden connect 9 0 6 0;
> #P hidden connect 7 0 2 0;
> #P hidden connect 5 0 2 0;
> #P hidden connect 3 0 2 0;
> #P hidden connect 4 0 2 0;
> #P hidden connect 9 2 2 0;
> #P hidden connect 6 0 7 0;
> #P hidden connect 9 1 5 0;
> #P hidden connect 10 0 36 0;
> #P connect 30 0 31 0;
> #P connect 36 0 31 0;
> #P connect 32 0 33 0;
> #P hidden connect 38 0 33 0;
> #P connect 33 0 9 0;
> #P connect 28 0 27 0;
> #P connect 29 0 27 0;
> #P connect 31 1 27 0;
> #P connect 27 0 25 0;
> #P connect 25 0 32 0;
> #P connect 31 3 26 0;
> #P connect 26 0 28 0;
> #P hidden connect 10 0 11 0;
> #P hidden fasten 12 0 13 0 370 377 354 377 354 221 370 221;
> #P hidden connect 11 0 12 0;
> #P connect 35 0 29 0;
> #P connect 11 0 34 0;
> #P connect 31 2 35 0;
> #P connect 34 0 35 0;
> #P hidden connect 10 1 14 0;
> #P pop;
>
>
> ________________________________
> Emmenez vos amis avec vous ! Vous partez ?
> _______________________________________________
> maxmsp mailing list
> maxmsp at cycling74.com
> http://www.cycling74.com/mailman/listinfo/maxmsp
>
>
>


-- 
http://www.bertrandgondouin.net



More information about the maxmsp mailing list