lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Digy (JIRA)" <j...@apache.org>
Subject [jira] Closed: (LUCENENET-188) Index/TestIndexInput/TestRead fails - (invalid UTF8 sequence).
Date Wed, 12 Aug 2009 20:23:14 GMT

     [ https://issues.apache.org/jira/browse/LUCENENET-188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Digy closed LUCENENET-188.
--------------------------

    Resolution: Fixed
      Assignee: Digy

I committed the patch fixing the test case. No need to change IndexInput.cs

DIGY

> Index/TestIndexInput/TestRead fails -  (invalid UTF8 sequence).
> ---------------------------------------------------------------
>
>                 Key: LUCENENET-188
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-188
>             Project: Lucene.Net
>          Issue Type: Bug
>         Environment: Lucene.Net 2.4.0
>            Reporter: Digy
>            Assignee: Digy
>            Priority: Trivial
>         Attachments: IndexInput.patch, TestIndexInput.patch
>
>
> This test fails since  "System.Text.Encoding.UTF8.GetString(bytes, 0, length)" emits
\ufffd char for invalid UTF-8 sequences and Java's "String(bytes, 0, length, "UTF-8")" outputs
\x00.
> I will attach a very bad implemented patch to show the problem but won't commit it unless
a clever (and performant) solution is found.
> DIGY.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message