From java-dev-return-27916-apmail-lucene-java-dev-archive=lucene.apache.org@lucene.apache.org Wed Oct 08 07:58:11 2008 Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 58439 invoked from network); 8 Oct 2008 07:58:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Oct 2008 07:58:11 -0000 Received: (qmail 61577 invoked by uid 500); 8 Oct 2008 07:58:04 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 61523 invoked by uid 500); 8 Oct 2008 07:58:04 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 61514 invoked by uid 99); 8 Oct 2008 07:58:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Oct 2008 00:58:04 -0700 X-ASF-Spam-Status: No, hits=-1999.9 required=10.0 tests=ALL_TRUSTED,DNS_FROM_SECURITYSAGE X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Oct 2008 07:57:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7D69A234C211 for ; Wed, 8 Oct 2008 00:57:44 -0700 (PDT) Message-ID: <1727087726.1223452664512.JavaMail.jira@brutus> Date: Wed, 8 Oct 2008 00:57:44 -0700 (PDT) From: "YourSoft (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Created: (LUCENE-1413) Creating PlainTextDictionary with UTF8 files MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Creating PlainTextDictionary with UTF8 files -------------------------------------------- Key: LUCENE-1413 URL: https://issues.apache.org/jira/browse/LUCENE-1413 Project: Lucene - Java Issue Type: New Feature Components: contrib/spellchecker Affects Versions: 2.3.2 Environment: All platform / operating systems Reporter: YourSoft Fix For: 2.3.3 Generate indexes from text files is good, but can't read utf8 files. It can easily made by adding the following code to PlainTextDictionary.java: public PlainTextDictionary(InputStream dictFile, String fileEncoding) throws UnsupportedEncodingException { in = new BufferedReader(new InputStreamReader(dictFile, fileEncoding)); } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org