<div dir="auto">he gets 01 because the full symbol is "01<div dir="auto"><br></div><div dir="auto">and the last symbol is actually 05.txt"</div><div dir="auto"><br></div><div dir="auto">strange, why echo is sending " ... (!?)</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em Qua, 17 de mar de 2021 12:33, oliver <<a href="mailto:oliver@klingt.org" target="_blank" rel="noreferrer">oliver@klingt.org</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2021-03-17 14:25, Christof Ressi wrote:<br>
> pdsend/pdreceive uses the FUDI protocol (= Pd messages), where strings<br>
> that look like floats are converted to a float atom. When serializing<br>
> between FUDI strings and Pd atoms, the textual result is not<br>
> guaranteed to be the same for number atoms.<br>
<br>
i see<br>
<br>
> <br>
>> the resulting output from [netreceive -u 3001] will be:<br>
>> <br>
>> udp: "01 2 3 4 05.txt"<br>
>  Are you sure? Because I get<br>
> <br>
> 1 2 3 4 05.txt<br>
<br>
yes, i am sure, at least for my system (Win7 / PD 0.51.4).<br>
see attached .jpg.<br>
(i'm getting the same truncations without the quotes btw.)<br>
<br>
> <br>
> which is what I would expect. The float atoms are properly serialized<br>
> to their string representation (Pd doesn't remember the original<br>
> text!) and "05.txt" is actually a symbol.<br>
> <br>
>> is there any way to sent such a symbol untruncated using the methods<br>
>> above,<br>
>  If you want to send it as a single symbol, that's possible, you just<br>
> have to escape the whitespace:<br>
> <br>
> "01\ 02\ 0003\ 004\ 05.txt"<br>
<br>
thank you very much, that was a pointer in the right direction !<br>
i figured, since the white spaces by themselves where transmitted <br>
correctly, i wouldn't have to worry about them, but literally escaping <br>
white spaces within my .tcl script (by forcing a backslash before every <br>
white space) seems to do the trick !<br>
<br>
best<br>
<br>
oliver<br>
<br>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" rel="noreferrer noreferrer" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div>