<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 20, 2015 at 8:00 AM, Sven Van Caekenberghe <span dir="ltr">&lt;<a href="mailto:sven@stfx.eu" target="_blank">sven@stfx.eu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Command line arguments enter the image level via VirtualMachine&gt;&gt;#getSystemAttribute:<br>
<br>
At that point they are already Strings.<br></blockquote><div><br></div><div>ByteString, according to the primitive.  So if the shell supplies e.g. UTF-8 strings for command-line parameters, which the VM sees as bytes, then the ByteString instances answered by getSystemAttribute: would need decoding, right?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">In your case, they must already be wrong at that point.<br></blockquote><div><br></div><div>Not necessarily.  The  getSystemAttribute: primitive doesn&#39;t do decoding.  Perhaps it should.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
&gt; On 20 Jan 2015, at 16:51, Hilaire &lt;<a href="mailto:hilaire@drgeo.eu">hilaire@drgeo.eu</a>&gt; wrote:<br>
&gt;<br>
&gt; Le 20/01/2015 16:34, Sven Van Caekenberghe a écrit :<br>
&gt;&gt; No they are not - Strings and Characters in Pharo are using plain Unicode encoding internally.<br>
&gt;<br>
&gt; Thanks for the update, and the reference link.<br>
&gt;<br>
&gt; Hilaire<br>
<span class=""><font color="#888888">&gt;<br>
&gt; --<br>
&gt; Dr. Geo - <a href="http://drgeo.eu" target="_blank">http://drgeo.eu</a><br>
&gt; iStoa - <a href="http://istoa.drgeo.eu" target="_blank">http://istoa.drgeo.eu</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">best,<div>Eliot</div></div>
</div></div>