UnixFilename.st
branchjv
changeset 21292 21faad473411
parent 20731 bee58777b1f7
parent 21276 a44b5531d0dc
child 23107 40173e082cbc
--- a/UnixFilename.st	Fri Jan 20 20:17:13 2017 +0000
+++ b/UnixFilename.st	Wed Jan 25 14:28:27 2017 +0000
@@ -45,7 +45,7 @@
 
 examples
     "
-        (self named:'/tmp/äöü') writeStream close
+        (self named:'/tmp/') writeStream close
     "
 ! !
 
@@ -144,13 +144,14 @@
 !UnixFilename methodsFor:'file queries'!
 
 fileType
-    "this returns a string describing the type of contents of
-     the file. This is done using the unix 'file' command,
+    "this returns a string describing the type of contents of the file. 
+     This is done using the unix 'file' command,
      (which usually is configurable by /etc/magic).
      Warning:
          Since the returned string differs among systems (and language settings),
          it is only useful for user-information; 
-         NOT as a tag to be used by a program."
+         NOT as a tag to be used by a program.
+         For this, use mimeType or mimeTypeOfContents."
 
     |typeString|