diff -r b4f17397e9c3 -r 48389a135c35 CharacterEncoderImplementations__ISO10646_to_UTF8.st --- a/CharacterEncoderImplementations__ISO10646_to_UTF8.st Tue Jan 16 15:12:37 2018 +0100 +++ b/CharacterEncoderImplementations__ISO10646_to_UTF8.st Tue Jan 16 15:12:43 2018 +0100 @@ -1,3 +1,5 @@ +"{ Encoding: utf8 }" + " COPYRIGHT (c) 2004 by eXept Software AG All Rights Reserved @@ -67,7 +69,7 @@ Decoding (utf8 to unicode): |t| - t := ISO10646_to_UTF8 encodeString:'Helloœ'. + t := ISO10646_to_UTF8 encodeString:'HelloÂœ'. ISO10646_to_UTF8 decodeString:t. " ! ! @@ -174,10 +176,10 @@ !ISO10646_to_UTF8 methodsFor:'queries'! -characterSize:charOrcodePoint +characterSize:charOrCodePoint "return the number of bytes required to encode codePoint" - ^ charOrcodePoint asCharacter utf8BytesPerCharacter. + ^ charOrCodePoint asCharacter utf8BytesPerCharacter. "Created: / 15-06-2005 / 15:16:22 / janfrog" "Modified: / 03-01-2018 / 23:05:59 / stefan"