lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davhdavh <...@git.apache.org>
Subject [GitHub] lucenenet issue #203: API Work - Stabilization
Date Tue, 25 Apr 2017 07:45:29 GMT
Github user davhdavh commented on the issue:

    https://github.com/apache/lucenenet/pull/203
  
    A small bug in the port in `Term.ToString(BytesRef termText)`. The call to `termText.Utf8ToString();
` will never throw, it should use the system utf8encoder instead: `return new System.Text.UTF8Encoding(false,
true).GetString(termText.Bytes, termText.Offset, termText.Length);`. but IHMO, it is still
fundamentally broken, ran into this on an int that happens to have a valid utf8 encoding when
serialized to bytes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message