On Fri, Mar 20, 2009 at 5:34 PM, aerox7 <amyne.berr...@me.com> wrote:

>
> Yes ! i completely understand the problem. I'm just asking about your
> solution to resolvre this problem.
>
> I gess that you use Solar PERL Client to index your DATABASE. for my case i
> use DataImportHandler, so to only solution that i have with this is to
> create a transformer for DataImportHandler and try to convert my row from
> latin to UTF-8. (see
>
> http://wiki.apache.org/solr/DataImportHandler#head-27fcc2794bd71f7d727104ffc6b99e194bdb6ff9
> )
>
> So i just wanna know if you use DataImportHandler two with a perl script
> like a transformer ?
>

No, but you can use any language which is available on the Java VM. For
example, Javascript (available by default on JDK6), JRuby, Jython, Groovy,
BeanShell etc.

But you may not need to do so much. Look at
http://www.mysqlperformanceblog.com/2009/03/17/converting-character-sets/

-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to