<div dir="ltr"><div><div><div><div><br></div>I noticed that #setConverterForCode still rely on BOM, but my current .changes does not have a BOM...<br>Note that there are not so many senders of #writeBOMOn: mainly those who want to fileOut a class/method/etc...<br>So that explain that I do not have a BOM...<br><br>Though (SourceFiles at: 2) has a UTF8TextConverter... Why?<br>That could be a direct send of #converter:, but I rather think that UTF8 is the default converter when we open the file.<br></div><div>So things work only because we don't #setConverterForCode on the .changes nor .sources...<br></div><div>Except that the path that you used does...<br><br></div><div>IMO, it's not related to condenseChanges, it should equally fail if you pretend you are Stéphane author, modify a method, and browse recent changes form file list...<br><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-07-19 18:55 GMT+02:00 Rein, Patrick <span dir="ltr"><<a href="mailto:Patrick.Rein@hpi.de" target="_blank">Patrick.Rein@hpi.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>I meant that this:<br>
</p>
<p><br>
</p>
<p>'ä' squeakToUtf8 squeakToUtf8  asByteArray => #[195 131 194 164]<br>
</p>
<p><br>
</p>
<p>are the characters which are printed instead of 'ä' in the debug output.<br>
</p>
<p><br>
</p>
<p>I will look into this tomorrow again. I have not yet investigated the concrete trace to the ChangeList coming from the FileList (so far I have directly opened a ChangeList).<br>
</p>
<div style="color:rgb(33,33,33)">
<hr style="display:inline-block;width:98%">
<div id="m_-4057035186895153077divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> Squeak-dev <<a href="mailto:squeak-dev-bounces@lists.squeakfoundation.org" target="_blank">squeak-dev-bounces@lists.<wbr>squeakfoundation.org</a>> on behalf of Bert Freudenberg <<a href="mailto:bert@freudenbergs.de" target="_blank">bert@freudenbergs.de</a>><br>
<b>Sent:</b> Wednesday, July 19, 2017 15:15<span class=""><br>
<b>To:</b> The general-purpose Squeak developers list<br>
</span><b>Subject:</b> Re: [squeak-dev] Parsing privateAuthorsRaw for a changes browser</font>
<div> </div>
</div><div><div class="h5">
<div>
<div dir="ltr">
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)">
<span style="font-family:arial,sans-serif;color:rgb(34,34,34)">On Wed, Jul 19, 2017 at 2:22 PM, Rein, Patrick
</span><span dir="ltr" style="font-family:arial,sans-serif;color:rgb(34,34,34)"><<a href="mailto:Patrick.Rein@hpi.de" target="_blank">Patrick.Rein@hpi.de</a>></span><span style="font-family:arial,sans-serif;color:rgb(34,34,34)"> wrote:</span><br>
</div>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr" style="font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Well as feared it did not come through. Let me try this again: The string '<span style="color:rgb(33,33,33);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;background-color:rgb(255,255,255)">ÃÂ</span><span style="color:rgb(33,33,33);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;background-color:rgb(255,255,255)">¤</span>'
 would be '<span style="color:rgb(33,33,33);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;background-color:rgb(255,255,255)"><span style="color:rgb(33,33,33);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;background-color:rgb(255,255,255)">Ã</span>'</span> </p>
<p>when interpreted as bytes which encode UTF-8. In turn '<span style="color:rgb(33,33,33);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:16px;background-color:rgb(255,255,255)">Ã</span>' as bytes encoding UTF-8 is 'ä' which </p>
<p>is what we actually want. The rest is as described below. </p>
</div>
</blockquote>
<div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)">
​In my image (updated from some trunk version) the method looks fine. As for the weird encodings, I think you mean:</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)">
<br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)">
'ä' squeakToUtf8 </div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)">
=> 'ä'</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)">
​</div>
<div class="gmail_default"><font color="#000000" face="arial, helvetica, sans-serif">'ä' squeakToUtf8 asByteArray</font></div>
<div class="gmail_default"><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif">#[195 164]</span><br>
</div>
<div class="gmail_default"><span style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif"><br>
</span></div>
<div class="gmail_default"><font color="#000000" face="arial, helvetica, sans-serif">'ä' utf8ToSqueak</font></div>
<div class="gmail_default"><font color="#000000" face="arial, helvetica, sans-serif"> 'ä'</font><br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(0,0,0)">
<br>
</div>
<div class="gmail_default">
<div class="gmail_default" style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:small">
#[195 164] asString utf8ToSqueak</div>
<div class="gmail_default" style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:small">
=> 'ä'</div>
<div style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:small">
<br>
</div>
<div style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:small">
I assume this is a copy-paste error? E.g. I cannot copy+paste the result of</div>
<div style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:small">
<br>
</div>
<div><font color="#000000" face="arial, helvetica, sans-serif">'ä' squeakToUtf8 squeakToUtf8</font><br>
</div>
<div style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:small">
<br>
</div>
<div style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:small">
- Bert -</div>
<div style="color:rgb(0,0,0);font-family:arial,helvetica,sans-serif;font-size:small">
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></div>
</div>

<br><br>
<br></blockquote></div><br></div>