This curl command uploads UTF-8 correctly: curl $URL --data-binary @$f -H 'Content-type:text/xml; charset=utf-8'
Because Windows does not use UTF-8 as its native character set, you will keep tripping over encoding mistakes with different programs. On Tue, Dec 29, 2009 at 1:46 AM, ZAROGKIKAS,GIORGOS <g.zarogki...@multirama.gr> wrote: > Ok > My configuration is correct > I found the problem > > Curl had problems with Greek chars > So I developed a application an passed my data with Http post > And it’s ok > > Thanks > > -----Original Message----- > From: Markus Jelsma [mailto:mar...@buyways.nl] > Sent: Monday, December 28, 2009 6:26 PM > To: solr-user@lucene.apache.org > Cc: ZAROGKIKAS,GIORGOS > Subject: Re: Solr an Greek Chars > > Hi, > > > Did you post your documents in UTF-8? Also, for querying through GET using > non-ascii you must reconfigure Tomcat6 as per the manual [1]. > > > Cheers, > > [1] http://wiki.apache.org/solr/SolrTomcat#URI_Charset_Config > > ZAROGKIKAS,GIORGOS zei: >> Hi there >> >> I’m using solr 1.4 under tomcat server in windows >> server 2008 >> >> and I want to index some data that contain Greek chars >> >> When I try to index my data and query all of them with >> *:* all the greek chars >> >> returned like hieroglyphics >> >> can anybody help ??? >> >> >> >> >> >> thanks in advance >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> --------------------------------------------------------- >> >> Î“ÎµÏŽÏ Î³Î¹Î¿Ï‚ Î–Î±Ï Î¿Î³ÎºÎ¯ÎºÎ±Ï‚ >> >> Τμήμα ÎœÎ·Ï‡Î±Î½Î¿Î³Ï Î¬Ï†Î·ÏƒÎ·Ï‚ >> >> 6936801497 >> >> g.zarogki...@multirama.gr >> >> 23o Xλμ Εθ. ÎŸÎ´Î¿Ï Î‘Î¸Î®Î½Ï‰Î½ Λαμίας >> >> ΤΚ. 14564 Driveme >> <http://www.forthnet.gr/templates/driveme.aspx?c=10008226&initialCenterX=486756.445&initialCenterY=4221978.13&initialZoomLevel=2> >> >> >> >> P Please consider the environment before printing this e-mail >> >> >> > > > > -- Lance Norskog goks...@gmail.com