Hi,
After a bit of trouble shooting, I realized that the UTF-8 character are
not rendered correctly wherever post method used in a form.  However, the
get method works correctly.
For example in the file
dspace-xmlui-api/src/main/java/org/dspace/app/xmlui/aspect/artifactbrowser/AdvancedSearch.java

if I replace METHOD_POST by METHOD_GET, I am getting results correctly. 
But I do not think it is a good solution, as it requires replacing every
MOTHOD_POST by METHOD_GET in the code.

Thanks to Karthik and Flemion for responding.

with best regards
-- 
ARD Prasad, Ph.D.
Documentation Research & Traning Centre (DRTC)
Indian Statistical Institute (ISI)
8th Mile Mysore Road
Bangalore  560 059
India
Phone (Off): +91-80-28483002  Ext. 496

Home Page: http://drtc.isibang.ac.in/DRTC/ardcv.html

Flemion Shafeeq wrote:
> Hi ,
> Try Keeping the container encoding in web.xml as
> ISO-8859-1
>
> and the form-encoding as UTF-8
> Things should work now.
>
> Regards
> Flemion.
>
>
> At 12:37 AM 6/26/2008 +0530, ARD Prasad wrote:
>>Hi,
>>
>>Yes, there were all set to UTF-8 in web.xml file. I believe, somewhere
>>else the problem is.
>>
>>regards
>>ard
>>
>> > Message: 5
>> > Date: Wed, 25 Jun 2008 06:16:39 -0700 (PDT)
>> > From: Karthik Dathathri <[EMAIL PROTECTED]>
>> > Subject: Re: [Dspace-tech] multilingual problem in xmlui site
>> > To: ARD Prasad <[EMAIL PROTECTED]>
>> > Cc: [email protected]
>> > Message-ID: <[EMAIL PROTECTED]>
>> > Content-Type: text/plain; charset=us-ascii
>> >
>> > Hi Mr.Prasad,
>> >
>> > Did you checked the following parameters in xmlui webapp's web.xml?
>> >
>> > <!--
>> >    Set encoding used by the container. If not set the ISO-8859-1
>> encoding
>> >    will be assumed. Since the servlet specification requires that the
>> ISO-
>> >   8859-1 encoding is used (by default), you should never change this
>> >    value unless you have a buggy servlet container.
>> >  -->
>> >   <init-param>
>> >      <param-name>container-encoding</param-name>
>> >      <param-value>UTF-8</param-value>
>> >   </init-param>
>> >
>> >  <!--
>> >    Set form encoding. This will be the character set used to decode
>> > request
>> >    parameters. If not set the ISO-8859-1 encoding will be assumed.
>> >  -->
>> >   <init-param>
>> >        <param-name>form-encoding</param-name>
>> >        <param-value>UTF-8</param-value>
>> >   </init-param>
>> >
>> >
>> > Thanks & Regards,
>> >
>> > Karthik
>> >
>> >
>> > --- On Wed, 6/25/08, ARD Prasad <[EMAIL PROTECTED]> wrote:
>> >
>> >> From: ARD Prasad <[EMAIL PROTECTED]>
>> >> Subject: [Dspace-tech] multilingual problem in xmlui site
>> >> To: [email protected]
>> >> Date: Wednesday, June 25, 2008, 5:16 PM
>> >> Hi,
>> >> Our DSpace 1.5 installation runs on Apache + SSL (mod_jk)
>> >> and tomcat 6.0.16, I have given the following line in
>> >> tomcat server.xml file
>> >>
>> >> <Connector port="8009"
>> >> protocol="AJP/1.3" redirectPort="8443"
>> >> URIEncoding="UTF-8"/>
>> >>
>> >> When I enter enter a non-English word in the search boxes,
>> >> we do not have
>> >> problems in the JSPUI side, but in the xmlui site we have
>> >> problems,
>> >>
>> >> Even in XMLUI side, search box in the center of the screen
>> >> is ok.
>> >>
>> >> Problems come when we use search box on the right hand side
>> >> and also in
>> >> advanced search,  The non-English characters get goofed up.
>> >>  Of course,
>> >> with no search results
>> >>
>> >> regards
>> >> ard
>> >>
>> >> --
>> >> ARD Prasad, Ph.D.
>> >> Documentation Research & Traning Centre (DRTC)
>> >> Indian Statistical Institute (ISI)
>> >> 8th Mile Mysore Road
>> >> Bangalore  560 059
>> >> India
>> >> Phone (Off): +91-80-28483002  Ext. 496
>> >>
>> >> Home Page: http://drtc.isibang.ac.in/DRTC/ardcv.html
>>
>>
>>
>>-------------------------------------------------------------------------
>>Check out the new SourceForge.net Marketplace.
>>It's the best place to buy or sell services for
>>just about anything Open Source.
>>http://sourceforge.net/services/buy/index.php
>>_______________________________________________
>>DSpace-tech mailing list
>>[email protected]
>>https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to