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