Merge from gnus--rel--5.10
[gnus] / lisp / compface.el
index 7d335a3..c146c93 100644 (file)
@@ -1,6 +1,6 @@
 ;;; compface.el --- functions for converting X-Face headers
 
-;; Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+;; Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
 
 ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
 ;; Keywords: news
@@ -37,7 +37,7 @@ or `faces-xface' and `netpbm' or `libgr-progs', for instance."
     (let ((coding-system-for-read 'raw-text)
          ;; At least "icontopbm" doesn't work with Windows because
          ;; the line-break code is converted into CRLF by default.
-         (coding-system-for-write 'raw-text-unix))
+         (coding-system-for-write 'binary))
       (and (eq 0 (apply 'call-process-region (point-min) (point-max)
                        "uncompface"
                        'delete '(t nil) nil))