Unicode class>>#parseUnicodeDataFrom:

is the method in charge of initialize the unicode tables telling when a
char is lowercase, or digit, etc..

But it has no senders :).

Maybe a first try can be something like the case mappings:

Unicode class>>initializeUnicodeData
    UIManager default informUserDuring: [ :bar| | result |
            bar value: 'Downloading Unicode data'.
            (result := ZnEasy get: '
http://www.unicode.org/Public/UNIDATA/UnicodeData.txt') isSuccess
                ifFalse: [ ^ self error: 'Download failed' ].
            bar value: 'Updating Case Mappings'.
            self parseUnicodeDataFrom: result contents readStream ].

Now, is http://www.unicode.org/Public/UNIDATA/UnicodeData.txt the correct
file to load the data from?

BTW, I executed that code in my image and It broke into pieces, so the
existing initialization may have some problem.  Dunno what happens yet.

Guille

Reply via email to