<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -4,7 +4,7 @@
   &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
   &lt;groupId&gt;com.github.kyleburton&lt;/groupId&gt;
   &lt;artifactId&gt;clj-xpath&lt;/artifactId&gt;
-  &lt;version&gt;1.0.1&lt;/version&gt;
+  &lt;version&gt;1.0.2&lt;/version&gt;
   &lt;packaging&gt;jar&lt;/packaging&gt;
   &lt;name&gt;Clojure Xpath Utilties&lt;/name&gt;
   &lt;description&gt;Helper utilities for working with XPath from Clojure.&lt;/description&gt;</diff>
      <filename>pom.xml</filename>
    </modified>
    <modified>
      <diff>@@ -14,6 +14,7 @@
 
 
 (def *namespace-aware* (atom false))
+(def *default-encoding* &quot;UTF-8&quot;)
 
 (defn throwf [&amp; args]
   (throw (RuntimeException. (apply format args))))
@@ -45,7 +46,7 @@
     (.parse builder istr)))
 
 (defmulti  xml-&gt;doc (fn [thing] (class thing)))
-(defmethod xml-&gt;doc String               [thing] (xml-bytes-&gt;dom (.getBytes thing)))
+(defmethod xml-&gt;doc String               [thing] (xml-bytes-&gt;dom (.getBytes thing *default-encoding*)))
 (defmethod xml-&gt;doc (Class/forName &quot;[B&quot;) [thing] (xml-bytes-&gt;dom thing))
 (defmethod xml-&gt;doc InputStream          [thing] (input-stream-&gt;dom thing))
 (defmethod xml-&gt;doc org.w3c.dom.Document [thing] thing)
@@ -88,7 +89,7 @@
 (defmulti $x (fn [xp xml-thing] (class xml-thing)))
 
 (defmethod $x String [xp xml]
-  ($x xp (xml-&gt;doc (.getBytes xml))))
+  ($x xp (xml-&gt;doc (.getBytes xml *default-encoding*))))
 
 (defmethod $x (Class/forName &quot;[B&quot;) [xp bytes]
   ($x xp (xml-&gt;doc bytes)))</diff>
      <filename>src/main/clj/com/github/kyleburton/clj_xpath.clj</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f7d92a5cdbe81757d91634cf690814345022932f</id>
    </parent>
  </parents>
  <author>
    <name>Kyle Burton</name>
    <email>kyle.burton@gmail.com</email>
  </author>
  <url>http://github.com/kyleburton/clj-xpath/commit/0d52c2657bbe775a7ddeb1f2fc025301b82c228d</url>
  <id>0d52c2657bbe775a7ddeb1f2fc025301b82c228d</id>
  <committed-date>2009-10-22T19:47:26-07:00</committed-date>
  <authored-date>2009-10-22T19:47:26-07:00</authored-date>
  <message>added Pauls UTF-8 as default encoding when calling getBytes</message>
  <tree>54ef15735ef5790eff1c265be925d971f0c38875</tree>
  <committer>
    <name>Kyle Burton</name>
    <email>kyle.burton@gmail.com</email>
  </committer>
</commit>
