Re: encoding question.

2007-07-19 Thread Peter Keegan
tes represent. : Date: Wed, 14 Feb 2007 09:16:58 +0330 : From: Mohammad Norouzi <[EMAIL PROTECTED]> : Reply-To: java-user@lucene.apache.org : To: java-user@lucene.apache.org : Subject: encoding question. : : Hi : I want to index data with utf-8 encoding, so when adding field to a docume

RE: encoding question.

2007-02-14 Thread Benson Margulies
@lucene.apache.org Subject: Re: encoding question. Internally Lucene deals with pure Java Strings; when writing those strings to and reading those strings back from disk, Lucene allways uses the stock Java "modified UTF-8" format, regardless of what your file.encoding system property may be. typc

Re: encoding question.

2007-02-14 Thread Chris Hostetter
Feb 2007 09:16:58 +0330 : From: Mohammad Norouzi <[EMAIL PROTECTED]> : Reply-To: java-user@lucene.apache.org : To: java-user@lucene.apache.org : Subject: encoding question. : : Hi : I want to index data with utf-8 encoding, so when adding field to a document : I am using the code new Strin

encoding question.

2007-02-13 Thread Mohammad Norouzi
Hi I want to index data with utf-8 encoding, so when adding field to a document I am using the code new String(value.getBytes("utf-8")) in the other hand, when I am going to search I was using the same snippet code to convert to utf-8 but it did not work so finally I found somewhere that had been