]> gitweb.factorcode.org Git - factor.git/commitdiff
Merge branch 'unicode' of git://factorcode.org/git/littledan into unicode
authorSlava Pestov <slava@factorcode.org>
Thu, 6 Mar 2008 20:47:32 +0000 (14:47 -0600)
committerSlava Pestov <slava@factorcode.org>
Thu, 6 Mar 2008 20:47:32 +0000 (14:47 -0600)
core/io/encodings/utf8/utf8-docs.factor
extra/io/encodings/ascii/ascii.factor

index 3e901ec83b454467c6930cd6609ae9660a038ecc..dbbc193a02f91fb461cb36f33c5eeb35f75dafa0 100755 (executable)
@@ -6,6 +6,6 @@ ARTICLE: "io.encodings.utf8" "Working with UTF8-encoded data"
 { $subsection utf8 } ;
 
 HELP: utf8
-{ $class-description "This is the class of encoding tuples which denote a UTF-8 encoding. You can pass this class symbol as an encoding descriptor to words like " { $link <file-reader> } " and " { $link encode-string } ". This conforms to the " { $link "encodings-protocol" } "." } ;
+{ $class-description "This is the class of encoding tuples which denote a UTF-8 encoding. This conforms to the " { $link "encodings-protocol" } "." } ;
 
 ABOUT: "io.encodings.utf8"
index f310f53e299caf15abcb458a7281e6efe72f42b0..fdefc356344a530acd5a3af460dbdab016d06e14 100644 (file)
@@ -4,7 +4,7 @@ USING: io io.encodings strings kernel math sequences byte-arrays io.encodings ;
 IN: io.encodings.ascii
 
 : encode-check<= ( string stream max -- )
-    [ pick > [ encode-error ] [ stream-write1 ] if ] 2curry each ;
+    [ pick <= [ encode-error ] [ stream-write1 ] if ] 2curry each ;
 
 TUPLE: ascii ;