The issue is likely due to how you create the FileReader that you pass to
TextField. Maybe you don't give it the right encoding?

Le mar. 23 mai 2017 à 16:38, Kudrettin Güleryüz <kudret...@gmail.com> a
écrit :

> Hi,
>
> Depending on the host running indexer, UTF-8 characters are not stored (not
> correctly, anyways) in Lucene index.
>
> Interestingly, locale output is identical on all hosts but the output is
> different.
>
> Apparently using FileReader could be the culprit.  I am currently using
> TextField(String name, Reader reader)
>
> How can I improve this? What is the suggested way for handling this using
> 5.2.1? TextField(String name, String value, Store store)?
>
> Thank you
>

Reply via email to