CharacterEncoder.st
changeset 23355 b3da554904fa
parent 22782 d76c7a49ae45
child 23410 850fa3b6150d
--- a/CharacterEncoder.st	Mon Sep 17 14:53:53 2018 +0200
+++ b/CharacterEncoder.st	Mon Sep 17 16:27:19 2018 +0200
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 2004 by eXept Software AG
               All Rights Reserved
@@ -613,7 +611,7 @@
 
         (ISO10646_1             unicode     ( unicode 'iso10646_1' 'iso10646-1' 'iso-10646-1' ))
 
-        (ISO10646_to_UTF8       unicode   ( utf8 'utf-8' ))
+        (ISO10646_to_UTF8       unicode   ( utf8 'utf-8' 'utf_8' ))
         (ISO10646_to_UTF16BE    unicode   ( utf16b utf16be 'utf-16b' 'utf-16be' ))
         (ISO10646_to_UTF16LE    unicode   ( utf16l utf16le 'utf-16e' 'utf-16le' ))
 
@@ -751,6 +749,7 @@
     "Modified (format): / 23-01-2013 / 09:56:53 / Jan Vrany <jan.vrany@fit.cvut.cz>"
     "Modified: / 27-02-2017 / 16:17:43 / stefan"
     "Modified: / 12-11-2017 / 13:05:38 / cg"
+    "Modified: / 17-09-2018 / 14:36:38 / Claus Gittinger"
 ! !
 
 !CharacterEncoder class methodsFor:'constants'!
@@ -905,7 +904,7 @@
     "
      self encodeString:(self encodeString:'hello' into:#ebcdic) from:#ebcdic into:#ascii    
      self encodeString:(self encodeString:'hello' into:#ebcdic) from:#ebcdic into:#unicode    
-     self encodeString:(self encodeString:'Äh ... hello' into:#ebcdic) from:#ebcdic into:#utf8    
+     self encodeString:(self encodeString:'Äh ... hello' into:#ebcdic) from:#ebcdic into:#utf8    
     "
 
     "Modified (comment): / 17-01-2018 / 15:49:40 / stefan"