[squeak-dev] The Trunk: Multilingual-tonyg.235.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Feb 1 02:37:23 UTC 2018


David T. Lewis uploaded a new version of Multilingual to project The Trunk:
http://source.squeak.org/trunk/Multilingual-tonyg.235.mcz

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

Name: Multilingual-tonyg.235
Author: tonyg
Time: 31 January 2018, 8:38:16.621047 pm
UUID: 8ca52bc8-a45a-4b10-91dc-a0b4586b459e
Ancestors: Multilingual-tonyg.234

Add 
	ByteArray>>utf8Decoded
	String>>utf8Encoded
per discussion on mailing-list on 28 Jan 2018, http://lists.squeakfoundation.org/pipermail/squeak-dev/2018-January/197082.html

=============== Diff against Multilingual-tonyg.234 ===============

Item was added:
+ ----- Method: ByteArray>>utf8Decoded (in category '*Multilingual-converting') -----
+ utf8Decoded
+ 	"Interprets the receiver as a UTF8-encoded String. Yields a String, or an InvalidUTF8 exception if the receiver is not valid UTF8."
+ 	"Equivalent to the Pharo method of the same name."
+ 	^ self asString utf8ToSqueak!

Item was added:
+ ----- Method: String>>utf8Encoded (in category '*Multilingual-converting') -----
+ utf8Encoded
+ 	"Yields a ByteArray containing the UTF8 encoding of the receiver's contents."
+ 	"Equivalent to the Pharo method of the same name."
+ 	^ self squeakToUtf8 asByteArray!



More information about the Squeak-dev mailing list