/*
-** $Id: pz2.js,v 1.24 2007-06-01 08:16:12 jakub Exp $
+** $Id: pz2.js,v 1.26 2007-06-01 08:22:32 jakub Exp $
** pz2.js - pazpar2's javascript client library.
*/
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.setRequestHeader('Accept-Charset', 'UTF-8');
this.request.onreadystatechange = function () {
context._handleResponse();
}