Unicode class -- unicodeData
Last updated at 11:25 am UTC on 12 December 2015
Class Unicode has the following class method to read the UnicodeData.txt file to initialize Unicode know-how of Squeak.
unicodeData
UIManager default informUserDuring: [ :bar |
| stream |
bar value: 'Downloading Unicode data'.
stream := HTTPClient httpGet: 'http://www.unicode.org/Public/UNIDATA/UnicodeData.txt'.
(stream isKindOf: RWBinaryOrTextStream) ifFalse: [
^self error: 'Download failed' ].
^stream reset; contents ]