Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Cuis-Smalltalk-Unicode
Last updated at 7:28 pm UTC on 12 December 2015
A design sketch for Unicode support in Cuis Smalltalk by KenDickey

https://github.com/KenDickey/Cuis-Smalltalk-Unicode

The Package UniCodes.pck.st is separate from Core Cuis.


1.
Main classes are UniChar and UniString

2.
Cuis class UniChar has similarities to the Squeak Class Unicode; see

 UniChar initialize
vs Squeak
 Unicode initialize

3.

Ropes are used to keep the illusion of mixed storage sizes while allowing indexing into text by character location

4.
No normalization is implemented.

5.
Classes of the package; as the package is separate from core Cuis the class UniChar does not inherit from Character and UniString does not inherit from String.

Cuis-Smalltalk-Unicode_class_UniChar_2015-12-12.png