lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kiran Kumar K.G" <>
Subject searching words starting with accent characters using UTF-8
Date Sat, 08 Dec 2001 11:43:27 GMT

Iam trying to search for words starting with accent characters.As posted in
one of the Lucene user-list mail I tried using UTF-8 encoding
String query = this.request.getParameter( "query" );
if( query!=null ) {
query = new String( query.getBytes(), "UTF-8" );

But this code is not working properly.
If I give a word æran, its giving empty string

Somebody in the user list had mentioned that this is working fine.

Please mention any dependency for this code to work(OS,JDK version etc.)

Let me know is there any other way to handle words starting with special


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message