[squeak-dev] Parsing privateAuthorsRaw for a changes browser
Bert Freudenberg
bert at freudenbergs.de
Wed Jul 19 13:15:12 UTC 2017
On Wed, Jul 19, 2017 at 2:22 PM, Rein, Patrick <Patrick.Rein at hpi.de> wrote:
> Well as feared it did not come through. Let me try this again: The string '
> ä' would be 'Ã'
>
> when interpreted as bytes which encode UTF-8. In turn 'Ã' as bytes
> encoding UTF-8 is 'ä' which
>
> is what we actually want. The rest is as described below.
>
In my image (updated from some trunk version) the method looks fine. As
for the weird encodings, I think you mean:
'ä' squeakToUtf8
=> 'ä'
'ä' squeakToUtf8 asByteArray
#[195 164]
'ä' utf8ToSqueak
'ä'
#[195 164] asString utf8ToSqueak
=> 'ä'
I assume this is a copy-paste error? E.g. I cannot copy+paste the result of
'ä' squeakToUtf8 squeakToUtf8
- Bert -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20170719/18bbd800/attachment.html>
More information about the Squeak-dev
mailing list
|