Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-Dev
[jira] Commented: (LUCENE-1730) TrecContentSource should use a fixed encoding, rather than system dependent
 

Index | Next | Previous | View Flat


jira at apache

Jul 2, 2009, 7:15 AM


Views: 486
Permalink
[jira] Commented: (LUCENE-1730) TrecContentSource should use a fixed encoding, rather than system dependent

[ https://issues.apache.org/jira/browse/LUCENE-1730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12726492#action_12726492 ]

Mark Miller commented on LUCENE-1730:
-------------------------------------

nice catch

> TrecContentSource should use a fixed encoding, rather than system dependent
> ---------------------------------------------------------------------------
>
> Key: LUCENE-1730
> URL: https://issues.apache.org/jira/browse/LUCENE-1730
> Project: Lucene - Java
> Issue Type: Bug
> Components: contrib/benchmark
> Reporter: Shai Erera
> Fix For: 2.9
>
> Attachments: LUCENE-1730.patch
>
>
> TrecContentSource opens InputStreamReader w/o a fixed encoding. On Windows, this means CP1252 (at least on my machine) which is ok. However, when I opened it on a Linux machine w/ a default of UTF-8, it failed to read the files. The patch changes it to use ISO-8859-1, which seems to be the right one (and http://mg4j.dsi.unimi.it/man/manual/ch01s04.html mentions this encoding in its example of a script which reads the data).
> Patch to follow shortly.

--
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[at]lucene.apache.org
For additional commands, e-mail: java-dev-help[at]lucene.apache.org

Subject User Time
[jira] Commented: (LUCENE-1730) TrecContentSource should use a fixed encoding, rather than system dependent jira at apache Jul 2, 2009, 7:15 AM
    [jira] Commented: (LUCENE-1730) TrecContentSource should use a fixed encoding, rather than system dependent jira at apache Jul 2, 2009, 7:19 AM
    [jira] Commented: (LUCENE-1730) TrecContentSource should use a fixed encoding, rather than system dependent jira at apache Jul 2, 2009, 7:53 AM
    [jira] Commented: (LUCENE-1730) TrecContentSource should use a fixed encoding, rather than system dependent jira at apache Jul 2, 2009, 10:57 AM
    [jira] Commented: (LUCENE-1730) TrecContentSource should use a fixed encoding, rather than system dependent jira at apache Jul 2, 2009, 11:15 AM
    [jira] Commented: (LUCENE-1730) TrecContentSource should use a fixed encoding, rather than system dependent jira at apache Jul 2, 2009, 11:37 AM
    [jira] Commented: (LUCENE-1730) TrecContentSource should use a fixed encoding, rather than system dependent jira at apache Jul 2, 2009, 2:17 PM
        Re: [jira] Commented: (LUCENE-1730) TrecContentSource should use a fixed encoding, rather than system dependent markrmiller at gmail Jul 2, 2009, 2:23 PM
    Re: [jira] Commented: (LUCENE-1730) TrecContentSource should use a fixed encoding, rather than system dependent rcmuir at gmail Jul 2, 2009, 2:26 PM
    [jira] Commented: (LUCENE-1730) TrecContentSource should use a fixed encoding, rather than system dependent jira at apache Jul 5, 2009, 1:04 PM
    [jira] Commented: (LUCENE-1730) TrecContentSource should use a fixed encoding, rather than system dependent jira at apache Jul 6, 2009, 6:46 AM
    [jira] Commented: (LUCENE-1730) TrecContentSource should use a fixed encoding, rather than system dependent jira at apache Jul 6, 2009, 6:52 AM
    [jira] Commented: (LUCENE-1730) TrecContentSource should use a fixed encoding, rather than system dependent jira at apache Jul 6, 2009, 6:56 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.