please note that the code in rc1 and rc2 is not working with Norwegian
chars(don't know about accents), I had to use the version 1.6 from the cvs
repository.

files can be found here, after downlaoding you will have to rebuild lucene.

http://cvs.apache.org/viewcvs/jakarta-lucene/src/java/org/apache/lucene/quer
yParser/

mvh karl �ie


-----Original Message-----
From: Kiran Kumar K.G [mailto:[EMAIL PROTECTED]]
Sent: 8. desember 2001 12:43
To: [EMAIL PROTECTED]
Subject: searching words starting with accent characters using UTF-8



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
characters.

Thanx,
Kiran




--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to