<?xml version="1.0" encoding="windows-1252"?>
<node id="987851" title="Re^7: Best technique to code/decode binary data for inter-machine communication?" created="2012-08-16 14:20:32" updated="2012-08-16 14:20:32">
<type id="11">
note</type>
<author id="171588">
BrowserUk</author>
<data>
<field name="doctext">
&lt;blockquote&gt;&lt;i&gt;I like that shorthand format, N/(N/a*)* and N/(n/a*)* , look very flexible for future encoding/decoding uses.&lt;/i&gt;&lt;/blockquote&gt;

&lt;p&gt;See also [id://987794].

&lt;blockquote&gt;&lt;i&gt;the spec says '22 bits', but Perl code seems to use '24 bits' for each character with the high-order bits being '00'.&lt;/i&gt;&lt;/blockquote&gt;

&lt;p&gt;utf-8 is a variable width encoding. [http://en.wikipedia.org/wiki/Utf-8#Description|Each character can require from 1 to 4(*) bytes]. 

&lt;P&gt;&lt;small&gt;(*Or 6 bytes depending upon the wind direction and the phases of the moon(**).)&lt;/small&gt;
&lt;p&gt;&lt;smaller&gt;(**&lt;i&gt;which moon&lt;/i&gt; is left unspecified :)&lt;/smaller&gt;





&lt;div class="pmsig"&gt;&lt;div class="pmsig-171588"&gt;
&lt;hr /&gt;
&lt;font size=1 &gt;
&lt;div&gt;With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'&lt;/div&gt;
&lt;div&gt;Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.&lt;/div&gt;
&lt;div&gt;"Science is about questioning the status quo. Questioning authority". &lt;/div&gt;
&lt;div&gt;In the absence of evidence, opinion is indistinguishable from prejudice.
&lt;p align=right&gt;[http://www.theregister.co.uk/2011/11/29/sas_versus_world_programming/|The start of some sanity?]&lt;/p&gt;&lt;/div&gt;
&lt;/font&gt;

&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
987602</field>
<field name="parent_node">
987842</field>
</data>
</node>
