goes! :) http://code.google.com/p/pharo/issues/detail?id=5484&thanks=5484&ts=1331825769
Add a bug entry :)
Stef
> <Unicode class-initializeCaseMapping.st>
On Mar 15, 2012, at 4:22 PM, Guillermo Polito wrote:
> What about changing the initialize via a request to a method with the data? �I don't think Unicode case mappings will change too much in time :P...
>
> Something like the attach
>
> Guille
>
> On Wed, Mar 14, 2012 at 12:06 PM, Guillermo Polito <guillermopolito@gmail.com> wrote:
> Hi,
>
> Does this method make sense? (Do we want Unicode to update itself?)
>
> Unicode class>>initializeCaseMappings
> � � "Unicode initializeCaseMappings"
> � � ToCasefold := IdentityDictionary new.
> � � ToUpper := IdentityDictionary new.
> � � ToLower := IdentityDictionary new.
> � � UIManager default informUserDuring: [ :bar| | result |
> � � � � bar value: 'Downloading Unicode data'.
> � � � � (result := ZnClient get: 'http://www.unicode.org/Public/UNIDATA/CaseFolding.txt') isSuccess
> � � � � � � ifFalse: [ ^ self error: 'Download failed' ].
> � � � � bar value: 'Updating Case Mappings'.
> � � � � self parseCaseMappingFrom: result contents readStream ].
>
> Guille
>