<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -5,13 +5,14 @@ use warnings;
 
 use XSLoader;
 use Digest::MD5 ('md5');
+use Encode;
 
 our $VERSION = '2.000_01';
 XSLoader::load &quot;RDF::Trine::XS&quot;, $VERSION;
 
 sub hash {
 	my $value	= shift;
-	my $md5		= md5( $value );
+	my $md5		= md5( encode('utf8', $value) );
 	return _hash( $md5 );
 }
 </diff>
      <filename>RDF-Trine-XS/lib/RDF/Trine/XS.pm</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,6 @@
-use Test::More tests =&gt; 5;
+use Test::More tests =&gt; 6;
 
+use utf8;
 use_ok( 'RDF::Trine::XS' );
 
 {
@@ -15,6 +16,12 @@ use_ok( 'RDF::Trine::XS' );
 }
 
 {
+	my $value	= 'L&#31070;&#23822;&#27491;&#33521;&lt;ja&gt;';
+	my $hash	= RDF::Trine::XS::hash( $value );
+	is( $hash, '4303572462241715163', 'unicode literal hash' );
+}
+
+{
 	my $value	= 'LTom Croucher&lt;en&gt;';
 	my $hash	= RDF::Trine::XS::hash( $value );
 	is( $hash, '14336915341960534814', 'language-typed literal hash' );</diff>
      <filename>RDF-Trine-XS/t/hash.t</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f7ae0882ee73901a643b35dae00b4cf6c4966a8a</id>
    </parent>
  </parents>
  <author>
    <name>Gregory Williams</name>
    <email>samofool@tiu.local</email>
  </author>
  <url>http://github.com/kasei/perlrdf/commit/e9fe8b3c68b2485ea1dd65a2735684c27a0891ed</url>
  <id>e9fe8b3c68b2485ea1dd65a2735684c27a0891ed</id>
  <committed-date>2008-03-14T13:06:21-07:00</committed-date>
  <authored-date>2008-03-14T13:06:21-07:00</authored-date>
  <message>- Fixed RDF::Trine::XS to support unicode literals.</message>
  <tree>e117c0b6b982dc29d3513d67779c52741b7274ce</tree>
  <committer>
    <name>Gregory Williams</name>
    <email>samofool@tiu.local</email>
  </committer>
</commit>
