[Solved] Re: VelocityResponseWriter/Solritas character encoding issue

2009-11-27 Thread Sascha Szott
Hi Erik, I've finally solved the problem. Unfortunately, the parameter v.contentType was not described in the Solr wiki (I've fixed that now). The point is, you must specify (in your solrconfig.xml) str name=v.contentTypetext/xml;charset=UTF-8/str in order to receive correctly UTF-8

VelocityResponseWriter/Solritas character encoding issue

2009-11-18 Thread Sascha Szott
Hi, I've played around with Solr's VelocityResponseWriter (which is indeed a very useful feature for rapid prototyping). I've realized that Velocity uses ISO-8859-1 as default character encoding. I've changed this setting to UTF-8 in my velocity.properties file (inside the conf directory),

Re: VelocityResponseWriter/Solritas character encoding issue

2009-11-18 Thread Sascha Szott
Hi Erik, Erik Hatcher wrote: Can you give me a test document that causes an issue? (maybe send me a Solr XML document in private e-mail). I'll see what I can do once I can see the issue first hand. Thank you! Just try the utf8-example.xml file in the exampledoc directory. After having

Re: VelocityResponseWriter/Solritas character encoding issue

2009-11-18 Thread Lance Norskog
What platform are you using? Windows does not use UTF-8 by default, and this can cause subtle problems. If you can do the same thing on other platforms (Linux, Mac) that would help narrow down the problem. On Wed, Nov 18, 2009 at 8:15 AM, Sascha Szott sz...@zib.de wrote: Hi Erik, Erik Hatcher