--- a/CharacterEncoder.st Thu Nov 21 22:23:07 2019 +0100
+++ b/CharacterEncoder.st Thu Nov 21 22:24:12 2019 +0100
@@ -1496,6 +1496,14 @@
!CharacterEncoder methodsFor:'error handling'!
+decodesToUnicode
+ "answer true, if this encoder decodes data to unicode"
+
+ ^ self class nameOfDecodedCode == #unicode
+
+ "Created: / 21-11-2019 / 18:42:51 / Stefan Vogel"
+!
+
decodingError
"report an error that there is no unicode-codePoint for a given codePoint in this encoding.
(which is unlikely) or that the encoding is undefined for that value