[squeak-dev] The Inbox: Multilingual-lrnp.283.mcz

Marcel Taeumel marcel.taeumel at hpi.de
Mon May 9 09:10:44 UTC 2022


This does the trick. I will commit it as soon as source.squeak.org is working again:

TextConverter class >> #cleanUp: aggressive

aggressive ifTrue: [
self allSubclassesDo: [:converterClass |
converterClass initializeTables.
converterClass allInstancesDo: [:converter |
self flag: #discuss. "mt: Ensure to update all instances to make the optimization work. See #installLineEndConvention: and #decodeString:."
(converter instVarNamed: #latin1Map) = "not == !"converterClass latin1Map
ifTrue: [
converter instVarNamed: #latin1Map put: converterClass latin1Map "i.e., == !".
converter instVarNamed: #latin1Encodings put: converterClass latin1Encodings "i.e., == !"]]]].

Then we should add "TextConverter cleanUp: true" to the postscript + checkpoint.

Best,
Marcel
Am 09.05.2022 11:02:48 schrieb Marcel Taeumel <marcel.taeumel at hpi.de>:
Ha. I found it. TextConverter class >> #cleanUp: is wrong because it fails to update the state of existing converters. Hmm... that trick with resetting the KnownLanguageEnvironments is not sufficient, though.

Best,
Marcel
Am 09.05.2022 05:00:53 schrieb Lauren Pullen <drurowin at gmail.com>:
On 5/8/22 04:02, tim Rowledge wrote:
> I downloaded a 21674-64bit image and it did not have any convertor issue - on Raspberry Pi linux. Updating to 21736 did not change that. I just tried downloading the 21763 to run on iMac and that had no problem either. Your screenshot makes me think you are on Mac - what OS version? My iMac is very old and currently running Catalina.

Mine is macbook pro running 10.13.6 (High Sierra). Locale is en_US.

If nobody else can reproduce, it might just be an oddity about my
installation.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220509/b19a0595/attachment.html>


More information about the Squeak-dev mailing list