Browse files

Fixed an issue with the encoding test on Mac OS X

  • Loading branch information...
1 parent ca91651 commit edd0aebb992b4a1ad6e0fb6f314540f1fbdda05e @senior senior committed Feb 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/test/clojure/clojure/data/xml/test_utils.clj
View
2 src/test/clojure/clojure/data/xml/test_utils.clj
@@ -12,7 +12,7 @@
(:require [clojure.data.xml :as xml]))
(defn test-stream [x]
- (java.io.ByteArrayInputStream. (.getBytes x)))
+ (java.io.ByteArrayInputStream. (.getBytes x "UTF-8")))
(def lazy-parse* (comp xml/parse test-stream))

0 comments on commit edd0aeb

Please sign in to comment.