Etoys: Multilingual-kfr.21.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Etoys: Multilingual-kfr.21.mcz

commits-2
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!

_______________________________________________
etoys-dev mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/etoys-dev