The Inbox: Multilingual-HenrikSperreJohansen.120.mcz

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

The Inbox: Multilingual-HenrikSperreJohansen.120.mcz

commits-2
A new version of Multilingual was added to project The Inbox:
http://source.squeak.org/inbox/Multilingual-HenrikSperreJohansen.120.mcz

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

Name: Multilingual-HenrikSperreJohansen.120
Author: HenrikSperreJohansen
Time: 7 June 2010, 3:06:29.846 pm
UUID: 1a25b181-922c-425c-9565-d9be11d3cf3b
Ancestors: Multilingual-ar.119

UTF16TextConverter's latin1Encoding uses default byte order, needs to change if byteorder is swapped.

=============== Diff against Multilingual-ar.119 ===============

Item was added:
+ ----- Method: UTF16TextConverter>>swapLatin1EncodingByteOrder (in category 'private') -----
+ swapLatin1EncodingByteOrder
+ latin1Encodings := latin1Encodings collect: [:each | each reverse]!

Item was changed:
  ----- Method: UTF16TextConverter>>useLittleEndian: (in category 'accessing') -----
  useLittleEndian: aBoolean
+ aBoolean = self useLittleEndian ifFalse: [self swapLatin1EncodingByteOrder].
-
  useLittleEndian := aBoolean.
  !