Issue 7 in kochief: CSV file gets streamed into Solr with weird encoding

1 view
Skip to first unread message

koc...@googlecode.com

unread,
Apr 15, 2010, 2:30:35 AM4/15/10
to koc...@googlegroups.com
Status: Accepted
Owner: mark.matienzo
Labels: Type-Defect Priority-Medium

New issue 7 by mark.matienzo: CSV file gets streamed into Solr with weird
encoding
http://code.google.com/p/kochief/issues/detail?id=7

Seeing this with a default Solr 1.4 example directory, using the built-in
Jetty container. I'm on Mac OS 10.6. Despite output of the custom CSV
writer dumping in UTF-8 the file is seemingly being streamed as MacRoman

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

koc...@googlecode.com

unread,
Apr 15, 2010, 2:34:38 AM4/15/10
to koc...@googlegroups.com

Comment #1 on issue 7 by mark.matienzo: CSV file gets streamed into Solr

Potential fix:
http://www.mail-archive.com/solr...@lucene.apache.org/msg05541.html

Long story short work around is to add another parameter to the servlet
container:
-Dfile.encoding=UTF-8

See hossman's followup on solr-user about why this seems weird, but I can
confirm
that it fixes it for me. Not sure of implications of modifying solr-init to
set this
explicitly.

koc...@googlecode.com

unread,
Apr 15, 2010, 3:15:21 AM4/15/10
to koc...@googlegroups.com
Updates:
Status: Fixed

Comment #2 on issue 7 by mark.matienzo: CSV file gets streamed into Solr

This issue was closed by revision d7bb2f9118.

Reply all
Reply to author
Forward
0 new messages