]> gitweb.factorcode.org Git - factor.git/commitdiff
contributors: to read from a git process I think utf8 should always be used
authorBjörn Lindqvist <bjourne@gmail.com>
Wed, 14 Oct 2015 22:13:54 +0000 (00:13 +0200)
committerBjörn Lindqvist <bjourne@gmail.com>
Wed, 14 Oct 2015 22:13:54 +0000 (00:13 +0200)
extra/contributors/contributors.factor

index fb86081e7e6947954f007c7d0e60c1b9f696e12d..fb19ce7fcd8de8c94138321b0e51de771d0df3fb 100644 (file)
@@ -1,14 +1,13 @@
 ! Copyright (C) 2007, 2008 Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
-USING: io io.directories io.encodings.ascii io.launcher
-io.pathnames math.statistics prettyprint sequences sorting
-system ;
+USING: io io.directories io.encodings.utf8 io.launcher io.pathnames
+math.statistics prettyprint sequences sorting system ;
 IN: contributors
 
 : changelog ( -- authors )
     image-path parent-directory [
         "git log --no-merges --pretty=format:%an"
-        ascii [ lines ] with-process-reader
+        utf8 [ lines ] with-process-reader
     ] with-directory ;
 
 : contributors ( -- )