#REFACTORING by stefan
authorStefan Vogel <sv@exept.de>
Fri, 19 Jan 2018 12:26:40 +0100
changeset 17949 f4ada786326b
parent 17948 870ec230fdc9
child 17950 d63391605406
#REFACTORING by stefan class: FileBrowser changed: #readStream:lineDelimiter:encoding: gc characterEncoding is never nil
FileBrowser.st
--- a/FileBrowser.st	Fri Jan 19 11:57:52 2018 +0100
+++ b/FileBrowser.st	Fri Jan 19 12:26:40 2018 +0100
@@ -6013,7 +6013,7 @@
 
     |text line fileEncoding editorsEncoding encoder|
 
-    editorsEncoding := subView characterEncoding ? #'unicode'.
+    editorsEncoding := subView characterEncoding.
     fileEncoding := fileEncodingArg ? #'iso8859-1'.
     encoder := CharacterEncoder encoderToEncodeFrom:fileEncoding into:editorsEncoding.
 
@@ -6040,8 +6040,9 @@
     ].
     ^ text
 
-    "Created: / 22.2.1996 / 14:58:25 / cg"
-    "Modified: / 5.2.1999 / 00:53:22 / cg"
+    "Created: / 22-02-1996 / 14:58:25 / cg"
+    "Modified: / 05-02-1999 / 00:53:22 / cg"
+    "Modified: / 19-01-2018 / 12:23:14 / stefan"
 !
 
 showFile:fileName