# HG changeset patch # User Claus Gittinger # Date 1538652618 -7200 # Node ID d931839b8ce0230fdde414c2b0bd3e14686af85f # Parent 59fecf15623039f461f89fa863fd4abfddd8093b #BUGFIX by cg class: CharacterArray class changed: #decodeFromUTF8: (send #asSingleByteStringIfPossible instead of #asSingleByteString) diff -r 59fecf156230 -r d931839b8ce0 CharacterArray.st --- a/CharacterArray.st Thu Oct 04 10:11:27 2018 +0200 +++ b/CharacterArray.st Thu Oct 04 13:30:18 2018 +0200 @@ -392,7 +392,7 @@ encodedSize == decodedSize ifTrue:[ "/ fast track, also avoid creation of new strings if aStringOrByteCollection is already a 7-bit string - ^ aStringOrByteCollection asSingleByteString + ^ aStringOrByteCollection asSingleByteStringIfPossible ]. nBitsRequired := 8. @@ -528,6 +528,7 @@ " "Modified: / 07-02-2017 / 17:41:17 / stefan" + "Modified: / 04-10-2018 / 13:29:53 / Claus Gittinger" ! setupNormalizationMaps @@ -1062,6 +1063,7 @@ " ! ! + !CharacterArray methodsFor:'Compatibility-ANSI'! addLineDelimiters