About the Unicode class

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

About the Unicode class

demarey
Hi,

Does anyone know why there are so many class variables in Unicode and what they are used for?
Most of them have no sender.

EncodedCharSet subclass: #Unicode
        instanceVariableNames: ''
        classVariableNames: 'Cc Cf Cn Co Cs DecimalProperty GeneralCategory Ll Lm Lo Lt Lu Mc Me Mn Nd Nl No Pc Pd Pe Pf Pi Po Ps Sc Sk Sm So ToCasefold ToLower ToUpper Zl Zp Zs'
        category: 'Multilingual-Encodings'

Thanks,
Christophe
Reply | Threaded
Open this post in threaded view
|

Re: About the Unicode class

Henrik Sperre Johansen

On 17 Sep 2015, at 2:58 , Christophe Demarey <[hidden email]> wrote:

Hi,

Does anyone know why there are so many class variables in Unicode and what they are used for?
Most of them have no sender.

EncodedCharSet subclass: #Unicode
instanceVariableNames: ''
classVariableNames: 'Cc Cf Cn Co Cs DecimalProperty GeneralCategory Ll Lm Lo Lt Lu Mc Me Mn Nd Nl No Pc Pd Pe Pf Pi Po Ps Sc Sk Sm So ToCasefold ToLower ToUpper Zl Zp Zs'
category: 'Multilingual-Encodings'

Thanks,
Christophe

A partial / incomplete / broken implementation of querying character properties, I'd guess.
See for instance:

Cheers,
Henry

signature.asc (859 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: About the Unicode class

Nicolas Cellier
There has been some work on Squeak by Levente in this area, maybe it's time to harvest...

2015-09-17 18:22 GMT+02:00 Henrik Johansen <[hidden email]>:

On 17 Sep 2015, at 2:58 , Christophe Demarey <[hidden email]> wrote:

Hi,

Does anyone know why there are so many class variables in Unicode and what they are used for?
Most of them have no sender.

EncodedCharSet subclass: #Unicode
instanceVariableNames: ''
classVariableNames: 'Cc Cf Cn Co Cs DecimalProperty GeneralCategory Ll Lm Lo Lt Lu Mc Me Mn Nd Nl No Pc Pd Pe Pf Pi Po Ps Sc Sk Sm So ToCasefold ToLower ToUpper Zl Zp Zs'
category: 'Multilingual-Encodings'

Thanks,
Christophe

A partial / incomplete / broken implementation of querying character properties, I'd guess.
See for instance:

Cheers,
Henry

Reply | Threaded
Open this post in threaded view
|

Re: About the Unicode class

stepharo


Le 17/9/15 18:27, Nicolas Cellier a écrit :
There has been some work on Squeak by Levente in this area, maybe it's time to harvest...

Thanks nicolas for the information. It is in the Unicode class?


2015-09-17 18:22 GMT+02:00 Henrik Johansen <[hidden email]>:

On 17 Sep 2015, at 2:58 , Christophe Demarey <[hidden email]> wrote:

Hi,

Does anyone know why there are so many class variables in Unicode and what they are used for?
Most of them have no sender.

EncodedCharSet subclass: #Unicode
instanceVariableNames: ''
classVariableNames: 'Cc Cf Cn Co Cs DecimalProperty GeneralCategory Ll Lm Lo Lt Lu Mc Me Mn Nd Nl No Pc Pd Pe Pf Pi Po Ps Sc Sk Sm So ToCasefold ToLower ToUpper Zl Zp Zs'
category: 'Multilingual-Encodings'

Thanks,
Christophe

A partial / incomplete / broken implementation of querying character properties, I'd guess.
See for instance:

Cheers,
Henry


Reply | Threaded
Open this post in threaded view
|

Re: About the Unicode class

demarey
In reply to this post by Nicolas Cellier
Thanks for your answers.
I also took a look in Squeak 5.0 but the implementation is also incomplete.
I think the best is to remove unused unicode character categories.

Le 17 sept. 2015 à 18:27, Nicolas Cellier a écrit :

There has been some work on Squeak by Levente in this area, maybe it's time to harvest...

2015-09-17 18:22 GMT+02:00 Henrik Johansen <[hidden email]>:

On 17 Sep 2015, at 2:58 , Christophe Demarey <[hidden email]> wrote:

Hi,

Does anyone know why there are so many class variables in Unicode and what they are used for?
Most of them have no sender.

EncodedCharSet subclass: #Unicode
instanceVariableNames: ''
classVariableNames: 'Cc Cf Cn Co Cs DecimalProperty GeneralCategory Ll Lm Lo Lt Lu Mc Me Mn Nd Nl No Pc Pd Pe Pf Pi Po Ps Sc Sk Sm So ToCasefold ToLower ToUpper Zl Zp Zs'
category: 'Multilingual-Encodings'

Thanks,
Christophe

A partial / incomplete / broken implementation of querying character properties, I'd guess.
See for instance:

Cheers,
Henry



smime.p7s (5K) Download Attachment