[squeak-dev] The Trunk: Multilingual-pre.232.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Dec 7 11:21:16 UTC 2017

Patrick Rein uploaded a new version of Multilingual to project The Trunk:

==================== Summary ====================

Name: Multilingual-pre.232
Author: pre
Time: 7 December 2017, 12:21:07.824608 pm
UUID: 8a517ab7-5c79-b84f-976c-6bfb7b07f0d8
Ancestors: Multilingual-pre.231

Adds the signaling of the NoConverterFound exception (was missing from previous commit due to porting from another image).

=============== Diff against Multilingual-pre.231 ===============

Item was changed:
  ----- Method: TextConverter class>>newForEncoding: (in category 'instance creation') -----
  newForEncoding: aString 
  	| class encoding |
  	aString ifNil: [^ ISO88591TextConverter new].
  	encoding := aString asLowercase.
  	class := self allSubclasses
  				detect: [:each | each encodingNames includes: encoding]
  				ifNone: [].
  	class isNil
+ 		ifTrue: [NoConverterFound signalFor: aString. ^ nil].
- 		ifTrue: [^ nil].
  	^ class new!

More information about the Squeak-dev mailing list