X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;ds=sidebyside;f=js%2Fpz2.js;h=20c516a12a10e7efaffde8786e907b3f621903d9;hb=681817cb049ee7b734c3bab8879dc3455e58f405;hp=e161dea77ff876f841ededb7adf3376da8034361;hpb=a0e47df912698c53fa14d1a81bb4cfa889b551f7;p=pazpar2-moved-to-github.git diff --git a/js/pz2.js b/js/pz2.js index e161dea..20c516a 100644 --- a/js/pz2.js +++ b/js/pz2.js @@ -1,5 +1,5 @@ /* -** $Id: pz2.js,v 1.25 2007-06-01 08:20:39 jakub Exp $ +** $Id: pz2.js,v 1.26 2007-06-01 08:22:32 jakub Exp $ ** pz2.js - pazpar2's javascript client library. */ @@ -542,6 +542,7 @@ pzHttpRequest.prototype = var context = this; this.request.open( 'GET', getUrl, true ); 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(); }