<div dir="ltr">That is strange.<div><br></div><div>On Squeak 4.1 </div><div><br></div><div><div>$^ charCode -> 94</div><div>94 asCharacter -> $^</div><div>128 asCharacter -> $€ charCode -> 128  (doesn't show properly in text on email but does in squeak, see image).</div></div><div><br></div><div><div><img src="cid:ii_jj4j1oin0_1645bffb52003a3f" style="margin-right: 0px;"><br></div><div><br></div><div>In other words, if I use my keyboard to type it in, it seems to be represented fine and it evaluates to charCode 94 as expected.</div><div><br></div><div>But something created with 128 charCode also is represented with the same symbol and it also retains it's 128 charCode as you can see with you send charCode to the string representation that was created.</div><div><br></div><div>If this was filed out it would seem that either version could have been used in the code and you wouldn't notice it.  Manually changing it by typing in ^ and fileing it out again will probably fix it.  An external editor changing 128 to 94 chars will also probably work.</div><div><br></div><div>All the best,</div><div><br></div><div>Ron Teitelbaum</div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 2, 2018 at 12:23 PM, Eliot Miranda <span dir="ltr"><<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br>
Hi Subbu,<br>
<br>
> On Jul 2, 2018, at 7:24 AM, K K Subbu <<a href="mailto:kksubbu.ml@gmail.com">kksubbu.ml@gmail.com</a>> wrote:<br>
> <br>
> Hi,<br>
> <br>
> I need help in tracing a bug (see attached picture) which triggered a MNU while trying to view a .cs file in FileTool. I traced the problem to peek on aStream returning a nil because a wrong character code was being returned in generated.<br>
> <br>
> In the attached picture, aStream isBinary is false and the basicNext returns the correct $^ character which gets stored in character1 local var. But an inspector displays it as Character 128. In the same inspector window $^ shows the correct character code as 94.<br>
> <br>
> This is on Squeak5.2alpha-64b-Linux-<wbr>18127. What is happening here?<br>
<br>
No idea.  Do you have a test case?<br>
<br>
> Has anyone seen this type of behavior before?<br>
> <br>
> <br>
> Thanks in advance .. Subbu<br>
> <strangeCharBug.png><br>
</blockquote></div><br></div></div>