'From etoys3.0 of 24 February 2008 [Letztes Update: #2142] on 14 September 2008 at 7:12:34 pm'! "Change Set: macEnc-bf Date: 14 September 2008 Author: Bert Freudenberg Use utf8 filenames on Mac even in browser"! !Latin1Environment class methodsFor: 'subclass responsibilities' stamp: 'bf 9/14/2008 19:01'! systemConverterClass | platformName osVersion | platformName := SmalltalkImage current platformName. osVersion := SmalltalkImage current getSystemAttribute: 1002. (platformName = 'Win32' and: [osVersion = 'CE']) ifTrue: [^ MacRomanTextConverter]. platformName = 'Win32' ifTrue: [^ (self win32VMUsesUnicode) ifTrue: [UTF8TextConverter] ifFalse: [Latin1TextConverter]]. platformName = 'Mac OS' ifTrue: [^ ('10*' match: SmalltalkImage current osVersion) ifTrue: [UTF8TextConverter] ifFalse: [MacRomanTextConverter]]. platformName = 'unix' ifTrue: [^ UTF8TextConverter]. ^ MacRomanTextConverter! !