How do I index non Latin characters?

Otis Gospodnetic

The solution is to ensure that the query string is encoded the same way that strings in the index are. For instance, something along the lines of this will work if your index is also using UTF-8 encoding.

String queryStr = new String("query string here".getBytes("UTF-8"));

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact