change
authorJakub Skoczen <jakub@indexdata.dk>
Fri, 1 Jun 2007 08:20:39 +0000 (08:20 +0000)
committerJakub Skoczen <jakub@indexdata.dk>
Fri, 1 Jun 2007 08:20:39 +0000 (08:20 +0000)
js/pz2.js

index be895d0..e161dea 100644 (file)
--- a/js/pz2.js
+++ b/js/pz2.js
@@ -1,5 +1,5 @@
 /*
-** $Id: pz2.js,v 1.24 2007-06-01 08:16:12 jakub Exp $
+** $Id: pz2.js,v 1.25 2007-06-01 08:20:39 jakub Exp $
 ** pz2.js - pazpar2's javascript client library.
 */
 
@@ -541,7 +541,7 @@ pzHttpRequest.prototype =
 
         var context = this;
         this.request.open( 'GET', getUrl, true );
-        this.request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
+        this.request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
         this.request.onreadystatechange = function () {
             context._handleResponse();
         }