Re: POST VS GET and NON English Characters

2011-07-20 Thread Sujatha Arun
Paul ,

I added the fllowing line to catalina.sh  and restarted the server ,but this
does not seem to help.


JAVA_OPTS=-Djavax.servlet.request.encoding=UTF-8 -Dfile.encoding=UTF-8
Regards
Sujatha

On Sun, Jul 17, 2011 at 3:51 AM, Paul Libbrecht p...@hoplahup.net wrote:

 If you have the option, try setting the default charset of the
 servlet-container to utf-8.
 Typically this is done by setting a system property on startup.

 My experience has been that the default used to be utf-8 but it is less and
 less and sometimes in a surprising way!

 paul


 Le 16 juil. 2011 à 05:34, Sujatha Arun a écrit :

  It works fine with GET method ,but I am wondering why it does not with
 POST
  method.
 
  2011/7/15 pankaj bhatt panbh...@gmail.com
 
  Hi Arun,
  This looks like an Encoding issue to me.
   Can you change your browser settinsg to UTF-8 and hit the search
 url
  via GET method.
 
We faced the similar problem with chienese,korean languages, this
  solved the problem.
 
  / Pankaj Bhatt.
 
  2011/7/15 Sujatha Arun suja.a...@gmail.com
 
  Hello,
 
  We have implemented solr search in  several languages .Intially we used
  the
  GET method for querying ,but later moved to  POST method to
  accomodate
  lengthy queries .
 
  When we moved form  GET TO POSt method ,the german characteres could no
  longer be searched and I had to use the fucntion utf8_decode in my
  application  for the search to work for german characters.
 
  Currently I am doing this  while quering using the POST method ,we are
  using
  the standard Request Handler
 
 
  $this-_queryterm=iconv(UTF-8, ISO-8859-1//TRANSLIT//IGNORE,
  $this-_queryterm);
 
 
  This makes the query work for german characters and other languages but
  does
  not work for certain charactes  in Lithuvanian and spanish.Example:
  *Not working
 
   - *Iš
   - Estremadūros
   - sNaująjį
   - MEDŽIAGOTYRA
   - MEDŽIAGOS
   - taškuose
 
  *Working
 
   - *garbę
   - ieškoti
   - ispanų
 
  Any ideas /input  ?
 
  Regards
  Sujatha
 
 




Re: POST VS GET and NON English Characters

2011-07-16 Thread Paul Libbrecht
If you have the option, try setting the default charset of the 
servlet-container to utf-8.
Typically this is done by setting a system property on startup.

My experience has been that the default used to be utf-8 but it is less and 
less and sometimes in a surprising way!

paul


Le 16 juil. 2011 à 05:34, Sujatha Arun a écrit :

 It works fine with GET method ,but I am wondering why it does not with POST
 method.
 
 2011/7/15 pankaj bhatt panbh...@gmail.com
 
 Hi Arun,
 This looks like an Encoding issue to me.
  Can you change your browser settinsg to UTF-8 and hit the search url
 via GET method.
 
   We faced the similar problem with chienese,korean languages, this
 solved the problem.
 
 / Pankaj Bhatt.
 
 2011/7/15 Sujatha Arun suja.a...@gmail.com
 
 Hello,
 
 We have implemented solr search in  several languages .Intially we used
 the
 GET method for querying ,but later moved to  POST method to
 accomodate
 lengthy queries .
 
 When we moved form  GET TO POSt method ,the german characteres could no
 longer be searched and I had to use the fucntion utf8_decode in my
 application  for the search to work for german characters.
 
 Currently I am doing this  while quering using the POST method ,we are
 using
 the standard Request Handler
 
 
 $this-_queryterm=iconv(UTF-8, ISO-8859-1//TRANSLIT//IGNORE,
 $this-_queryterm);
 
 
 This makes the query work for german characters and other languages but
 does
 not work for certain charactes  in Lithuvanian and spanish.Example:
 *Not working
 
  - *Iš
  - Estremadūros
  - sNaująjį
  - MEDŽIAGOTYRA
  - MEDŽIAGOS
  - taškuose
 
 *Working
 
  - *garbę
  - ieškoti
  - ispanų
 
 Any ideas /input  ?
 
 Regards
 Sujatha
 
 



POST VS GET and NON English Characters

2011-07-15 Thread Sujatha Arun
Hello,

We have implemented solr search in  several languages .Intially we used the
GET method for querying ,but later moved to  POST method to accomodate
lengthy queries .

When we moved form  GET TO POSt method ,the german characteres could no
longer be searched and I had to use the fucntion utf8_decode in my
application  for the search to work for german characters.

Currently I am doing this  while quering using the POST method ,we are using
the standard Request Handler


$this-_queryterm=iconv(UTF-8, ISO-8859-1//TRANSLIT//IGNORE,
$this-_queryterm);


This makes the query work for german characters and other languages but does
not work for certain charactes  in Lithuvanian and spanish.Example:
*Not working

   - *Iš
   - Estremadūros
   - sNaująjį
   - MEDŽIAGOTYRA
   - MEDŽIAGOS
   - taškuose

*Working

   - *garbę
   - ieškoti
   - ispanų

Any ideas /input  ?

Regards
Sujatha


Re: POST VS GET and NON English Characters

2011-07-15 Thread pankaj bhatt
Hi Arun,
  This looks like an Encoding issue to me.
   Can you change your browser settinsg to UTF-8 and hit the search url
via GET method.

We faced the similar problem with chienese,korean languages, this
solved the problem.

/ Pankaj Bhatt.

2011/7/15 Sujatha Arun suja.a...@gmail.com

 Hello,

 We have implemented solr search in  several languages .Intially we used the
 GET method for querying ,but later moved to  POST method to accomodate
 lengthy queries .

 When we moved form  GET TO POSt method ,the german characteres could no
 longer be searched and I had to use the fucntion utf8_decode in my
 application  for the search to work for german characters.

 Currently I am doing this  while quering using the POST method ,we are
 using
 the standard Request Handler


 $this-_queryterm=iconv(UTF-8, ISO-8859-1//TRANSLIT//IGNORE,
 $this-_queryterm);


 This makes the query work for german characters and other languages but
 does
 not work for certain charactes  in Lithuvanian and spanish.Example:
 *Not working

   - *Iš
   - Estremadūros
   - sNaująjį
   - MEDŽIAGOTYRA
   - MEDŽIAGOS
   - taškuose

 *Working

   - *garbę
   - ieškoti
   - ispanų

 Any ideas /input  ?

 Regards
 Sujatha



Re: POST VS GET and NON English Characters

2011-07-15 Thread Sujatha Arun
It works fine with GET method ,but I am wondering why it does not with POST
method.

2011/7/15 pankaj bhatt panbh...@gmail.com

 Hi Arun,
  This looks like an Encoding issue to me.
   Can you change your browser settinsg to UTF-8 and hit the search url
 via GET method.

We faced the similar problem with chienese,korean languages, this
 solved the problem.

 / Pankaj Bhatt.

 2011/7/15 Sujatha Arun suja.a...@gmail.com

  Hello,
 
  We have implemented solr search in  several languages .Intially we used
 the
  GET method for querying ,but later moved to  POST method to
 accomodate
  lengthy queries .
 
  When we moved form  GET TO POSt method ,the german characteres could no
  longer be searched and I had to use the fucntion utf8_decode in my
  application  for the search to work for german characters.
 
  Currently I am doing this  while quering using the POST method ,we are
  using
  the standard Request Handler
 
 
  $this-_queryterm=iconv(UTF-8, ISO-8859-1//TRANSLIT//IGNORE,
  $this-_queryterm);
 
 
  This makes the query work for german characters and other languages but
  does
  not work for certain charactes  in Lithuvanian and spanish.Example:
  *Not working
 
- *Iš
- Estremadūros
- sNaująjį
- MEDŽIAGOTYRA
- MEDŽIAGOS
- taškuose
 
  *Working
 
- *garbę
- ieškoti
- ispanų
 
  Any ideas /input  ?
 
  Regards
  Sujatha