Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Unicode initialize
Last updated at 9:49 am UTC on 17 October 2020
Class Unicode class method #initialize sets up the dictionaries which are used to represent the Unicode Character Database.

initialize
	" Unicode initialize "
	self initializeTagConstants.
	Compositions isEmptyOrNil ifTrue:[self initializeCompositionMappings].


A class-side #initialize is run only if (a) added to the system or (b) changed.


initializeCompositionMappings
	" self initializeCompositionMappings "

	self parseCompositionMappingFrom: self unicodeData


The class method #unicodeData of the class Unicode loads the file UnicodeData.txt from http://www.unicode.org.

See also

Experimental Cuis implementation by Ken Dickey