[etoys-dev] Etoys: Multilingual-kfr.21.mcz

commits at source.squeak.org commits at source.squeak.org
Tue May 24 15:25:33 EDT 2011


Karl Ramberg uploaded a new version of Multilingual to project Etoys:
http://source.squeak.org/etoys/Multilingual-kfr.21.mcz

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

Name: Multilingual-kfr.21
Author: kfr
Time: 24 May 2011, 9:25 pm
UUID: fae030ae-146c-7f45-9465-18e27bd94e32
Ancestors: Multilingual-kfr.20

Failed to open projects named with Chinese characters
http://tracker.squeakland.org/browse/SQ-879

=============== Diff against Multilingual-kfr.20 ===============

Item was changed:
  ----- Method: SimplifiedChineseEnvironment class>>systemConverterClass (in category 'subclass responsibilities') -----
  systemConverterClass
  	| platformName osVersion encoding |
  	platformName := SmalltalkImage current platformName.
  	osVersion := SmalltalkImage current getSystemAttribute: 1002.
  	(platformName = 'Win32' and: [osVersion = 'CE']) 
  		ifTrue: [^UTF8TextConverter].
+ 	platformName = 'Win32'
+ 		ifTrue: [^ self win32VMUsesUnicode
+ 				ifTrue: [UTF8TextConverter]
+ 				ifFalse: [CNGBTextConverter]].
+ 	platformName = 'ZaurusOS'
- 	(#('Win32' 'ZaurusOS') includes: platformName) 
  		ifTrue: [^CNGBTextConverter].
  	platformName = 'Mac OS' 
  		ifTrue: 
  			[^('10*' match: SmalltalkImage current osVersion) 
  				ifTrue: [UTF8TextConverter]
  				ifFalse: [CNGBTextConverter]].
  	platformName = 'unix' 
  		ifTrue: 
  			[encoding := X11Encoding encoding.
  			encoding ifNil: [^CNGBTextConverter].
  			(encoding = 'utf-8') 
  				ifTrue: [^UTF8TextConverter].				
  			^CNGBTextConverter].
  	^MacRomanTextConverter!



More information about the etoys-dev mailing list