links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Last updated at 7:12 pm UTC on 24 August 2017
(Squeak 5.1)
String variableByteSubclass: #ByteString
	instanceVariableNames: ''
	classVariableNames: ''
	poolDictionaries: ''
	category: 'Collections-Strings'

Class comment:
This class represents the array of 8 bit wide characters.

Yoshiki Ohshima writes to the Squeak mailing list 7th Dec 2015:

ByteStrings are meant to be ISO-8859-1.

Unfortunately, Squeak does use ByteString to store UTF-8 . My intention was only transiently;
in hindsight, it would have been a better convention to use ByteArray
for this transient UTF-8 data.

See WebClient for an example of #utf8ToSqueak