Re: To make sure XML is UTF-8

2008-10-21 Thread sunnyfr
not your real problem. -Hoss -- View this message in context: http://www.nabble.com/To-make-sure-XML-is-UTF-8-tp11031646p20093197.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: To make sure XML is UTF-8

2007-06-12 Thread Ajanta Phatak
Hi Not sure if you've had a solution for your problem yet, but I had dealt with a similar issue that is mentioned below and hopefully it'll help you too. Of course, this assumes that your original data is in utf-8 format. The default charset encoding for mysql is Latin1 and our display

Re: To make sure XML is UTF-8

2007-06-12 Thread Tiong Jeffrey
Hi Ajanta, thanks! Since I used PHP, I managed to use the PHP decode function to change it to UTF-8. But just a question, even if we change mysql default char-set to UTF-8, and if the input originally is in other format, the mysql engine won't help to convert it to UTF-8 rite? I think my

Re: To make sure XML is UTF-8

2007-06-10 Thread Chris Hostetter
: Ya you are right! After I change it to UTF-8 the error still there... I : looked at the log, this is what it appears, : : 127.0.0.1 - - [10/06/2007:03:52:06 +] POST /solr/update HTTP/1.1 500 : 4022 thta looks like the access log .. not the error log. Solr is logging the details of what

Re: To make sure XML is UTF-8

2007-06-09 Thread Tiong Jeffrey
This is how the whole process looks like - 1. I have a web page that I want to index. So I first copy that web page, breaking it down to different section, and store it in mysql into different column 2. I then wrote a small PHP script that draw all the value from all the fields from mysql and

Re: To make sure XML is UTF-8

2007-06-09 Thread Ken Krugler
This is how the whole process looks like - 1. I have a web page that I want to index. So I first copy that web page, breaking it down to different section, and store it in mysql into different column 2. I then wrote a small PHP script that draw all the value from all the fields from mysql and

Re: To make sure XML is UTF-8

2007-06-09 Thread Nick Jenkin
2. I then wrote a small PHP script that draw all the value from all the fields from mysql and then write it into an xml file You might find the utf8_encode utf8_decode php functions useful, http://nz2.php.net/utf8_encode http://nz2.php.net/utf8_decode $utf8string =

Re: To make sure XML is UTF-8

2007-06-09 Thread Chris Hostetter
: way during indexing is - FATAL: Connection error (is Solr running at : http://localhost/solr/update : ?): java.io.IOException: Server returned HTTP Response code: 500 for URL: : http://local/solr/update; : 4.Although the error code doesnt specify is XML utf-8 code error, but I did : a bit

Re: To make sure XML is UTF-8

2007-06-08 Thread Funtick
: String, Long, Date. And use JAXP. -- View this message in context: http://www.nabble.com/To-make-sure-XML-is-UTF-8-tf3891427.html#a11032117 Sent from the Solr - User mailing list archive at Nabble.com.

Re: To make sure XML is UTF-8

2007-06-08 Thread funtick
Thought this is not directly related to Solr, but I have a XML output from mysql database, but during indexing the XML output is not working. And the problem is part of the XML output is not in UTF-8 encoding, how can I convert it to UTF-8 and how do I know what kind of coding it uses in the