[squeak-dev] The Inbox: System-monty.907.mcz

Chris Cunningham cunningham.cb at gmail.com
Thu Jan 26 22:36:33 UTC 2017


So, back in 2009, Andreas proposed:

---------------------------
What I would propose to do here is to define that "leadingChar = 0" which
currently means "Latin1 encoding, language neutral" is being redefined to
"Unicode encoding, language neutral". What this does is that "Character
value: 353" and "Unicode value: 353" become the same, if the environment is
considered language neutral which by default it would be.
---------------------

In 2010, he pushed this into Squeak Trunk.

Then, in 2011, there was a conversation where Andreas stated:

-------------------
On 1/8/2011 2:16 AM, Sean P. DeNigris wrote:
#leadingChar
"In Squeak Character encoding, bits above 16r3FFFFF don't encode the
character, but hold information about the language environment and the
encoding which should be used to interpret the charCode. The background of
which is Han unification (http://en.wikipedia.org/wiki/Han_unification)."

How's that as a method comment?  Is it really "In Squeak... encoding..." or
does this apply to unicode in general?

It is Squeak specific. Unicode does not have a leading char.

Cheers,
  - Andreas
---------------------

Maybe this later email was the one that you were interested in?

I can't find any mention in the commit list or other discussions where the
leadingChar was dropped, but I'm not an expert in this space (just
interested).

Thanks,
cbc


On Thu, Jan 26, 2017 at 10:02 AM, monty <monty2 at programmer.net> wrote:

> I remembered Andreas posting something here saying it was no longer
> needed. But what if I just upload packages that (1) add copies of these
> methods with the name spelled correctly to String and ByteString, (2)
> change the senders in MOFile and (old) XMLParser to use the new correctly
> spelled messages, (3) change the incorrectly spelled (old) XMLParser
> extension methods to just send the new, correctly spelled messages?
>
> > Sent: Tuesday, January 24, 2017 at 9:32 AM
> > From: "Tobias Pape" <Das.Linux at gmx.de>
> > To: "The general-purpose Squeak developers list" <squeak-dev at lists.
> squeakfoundation.org>, monty <monty2 at programmer.net>
> > Subject: Re: [squeak-dev] The Inbox: System-monty.907.mcz
> >
> >
> > On 24.01.2017, at 14:16, Bert Freudenberg <bert at freudenbergs.de> wrote:
> >
> > > On Sun, Jan 22, 2017 at 4:55 PM, <commits at source.squeak.org> wrote:
> > >
> > > Name: System-monty.907
> > > Author: monty
> > > Time: 22 January 2017, 10:54:27.872661 am
> > > UUID: 96a2d0cb-8ed1-467d-9e62-24b719b285cc
> > > Ancestors: System-mt.906
> > >
> > > Removed sends of the old XMLParser's applyLanguageInfomation: (sic)
> from MOFile that I don't believe is still needed (it's leadingChar-based)
> > >
> > > Did we replace the leadingChar mechanism with something else?
> >
> > not that I know.
> > Monty?
> >
> > >
> > > - Bert -
> > >
> > >
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20170126/de13078f/attachment.html>


More information about the Squeak-dev mailing list