lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "SolJSON" by Vic
Date Wed, 26 Mar 2008 09:32:47 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The following page has been changed by Vic:
http://wiki.apache.org/solr/SolJSON

------------------------------------------------------------------------------
  </body>
  </html>
  }}}
+ 
+ === Potential UTF-8 encoding issue ===
+ This is a small note: The default javascript  encode() may failed to encoded non-ASCII character
that make the search failed in some cases (e.g. you specify the page encoding for some browser).
To solve the problem, please refer the utf-8 encoding package by webtoolkit.info to write
your own encoding function:
+ * http://www.webtoolkit.info/javascript-url-decode-encode.html
+ To apply the function, just replace the escape(query)  in function getquerystring()
+ {{{
+ qstr = 'q=' + escape(query);
+ }}}
+ into your own escape function (e.g. my_escape())
+ {{{
+ qstr = 'q=' + my_escape(query);
+ }}}
  ----
  CategoryQueryResponseWriter
  

Mime
View raw message