Andreas Raab uploaded a new version of CollectionsTests to project The Trunk:
http://source.squeak.org/trunk/CollectionsTests-ar.104.mcz==================== Summary ====================
Name: CollectionsTests-ar.104
Author: ar
Time: 23 October 2009, 9:57:12 am
UUID: 1061d871-ba34-014f-9273-ca1979faf132
Ancestors: CollectionsTests-ul.103
Provides test for UTF8 conversion issue described in
http://lists.squeakland.org/pipermail/etoys-dev/2009-October/004045.html
=============== Diff against CollectionsTests-ul.103 ===============
Item was added:
+ ----- Method: StringTest>>testUtf8ToSqueakLeadingChar (in category 'tests - converting') -----
+ testUtf8ToSqueakLeadingChar
+ "Ensure utf8ToSqueak inserts the leading char just like UTF8TextConverter does"
+ | data |
+ data := #(227 129 130 227 129 132 227 129 134 227 129 136 227 129 138) asByteArray "aiueo in Japanese".
+ self assert: data asString utf8ToSqueak = (data asString convertFromEncoding:
+ #utf8)
+
+ !