#BUGFIX by cg
authorClaus Gittinger <cg@exept.de>
Tue, 16 Jan 2018 15:12:37 +0100
changeset 22428 b4f17397e9c3
parent 22427 776efa0d3de2
child 22429 48389a135c35
#BUGFIX by cg class: CharacterEncoderImplementations::TwoByteEncoder comment/format in: #characterSize:
CharacterEncoderImplementations__TwoByteEncoder.st
--- a/CharacterEncoderImplementations__TwoByteEncoder.st	Tue Jan 16 15:12:32 2018 +0100
+++ b/CharacterEncoderImplementations__TwoByteEncoder.st	Tue Jan 16 15:12:37 2018 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 2004 by eXept Software AG
               All Rights Reserved
@@ -62,7 +64,7 @@
 
 !TwoByteEncoder methodsFor:'queries'!
 
-characterSize:codePoint
+characterSize:charOrCodePoint
     "return the number of bytes required to encode codePoint"
 
     ^2