Hi, I had the same problem with DATAIMPORTHandler : i have a utf-8 mysql DATABASE but it's seems that DIH import data in LATIN... So i just use Transformer to (re)encode my strings in UTF-8.
Rui Pereira-2 wrote: > > I'm having problems with encoding in responses from search queries. The > encoding problem only occurs in the topologyname field, if a instancename > has accents it is returned correctly. In all my configurations I have > UTF-8. > > <?xml version="1.0" encoding="UTF-8"?> > <dataConfig> > <document name="topologies"> > <entity query="SELECT DISTINCT '3141-' || Sub0.SUBID as id, 'Inventário' > as > topologyname, 3141 as topologyid, Sub0.SUBID as instancekey, Sub0.NAME as > instancename FROM ... > <field column="INSTANCEKEY" name="instancekey"/> > <field column="ID" name="id"/> > <field column="TOPOLOGYID" name="topologyid"/> > <field column="INSTANCENAME" name="instancename"/> > <field column="TOPOLOGYNAME" name="topologyname"/>... > > > As an example, I can have in the response the following result: > > <doc> > <long name="instancekey">285</long> > <str name="instancename">Informática</str> > <long name="topologyid">3141</long> > <str name="topologyname">Inventário</str> > </doc> > > > Thanks in advance, > Rui Pereira > > -- View this message in context: http://www.nabble.com/Encoding-problem-tp22743698p22745133.html Sent from the Solr - User mailing list archive at Nabble.com.