#REFACTORING
class: CharacterEncoder
comment/format in:
#guessEncodingOfFile:
#guessEncodingOfStream:
--- a/CharacterEncoder.st Thu Sep 24 14:41:52 2015 +0200
+++ b/CharacterEncoder.st Thu Sep 24 15:21:41 2015 +0200
@@ -1217,7 +1217,8 @@
encoding: name
within the given buffer
(which is usually the first few bytes of a textFile).
- If thats not found, use heuristics (in CharacterArray) to guess."
+ If thats not found, use heuristics (in CharacterArray) to guess.
+ Return a symbol like #utf8."
|s buffer n "{Class: SmallInteger }"|
@@ -1244,7 +1245,8 @@
encoding #name
or:
encoding: name
- in the first few bytes of aStream."
+ in the first few bytes of aStream.
+ Return a symbol like #utf8."
|oldPosition buffer n|