Yes, at the moment our server.xml already has this set. The full connector 
setting is:

    <Connector port="8080" protocol="HTTP/1.1" 
               connectionTimeout="20000" 
               redirectPort="8443" URIEncoding="UTF-8" />


I'll check with our IT guys, about getting a restart of tomcat and apache done, 
to see if maybe this setting just hasn't been enforced yet.



Thanks
Jennifer 


Jennifer Whalan
Systems Support Officer
Innovation & Access, Northern Territory Library
Department of Natural Resources, Environment, The Arts and Sport
Northern Territory Government

Phone:  (08) 8922 0757
Fax:    (08) 8922 0722
Email:  [email protected]
Web:    www.ntl.nt.gov.au 

The information contained in this message and any attachments may be 
confidential information and may be subject to legal privilege, public interest 
or legal profession privilege. If you are not the intended recipient, any use, 
disclosure or copying of this message or any attachments is unauthorised. If 
you have received this document in error, please advise the sender. No 
representation or warranty is given that attached files are free from viruses 
or other defects. The recipient assumes all responsibility for any loss or 
damage resulting directly or indirectly from the use of any attached files.

-----Original Message-----
From: Kim Shepherd [mailto:[email protected]] 
Sent: Tuesday, 7 July 2009 10:25 AM
To: Jennifer Whalan; [email protected]
Subject: RE: [Dspace-tech] URL encoding in browse - XMLUI

Hi Jennifer,

Your first problem can hopefully be fixed with a change to your Tomcat 
configuration:

Take a look at Tomcat's server.xml file, find your non-SSL connector (and SSL 
if you use that too..), and add URIEncoding="UTF-8".

Eg.
<!-- Define a non-SSL HTTP/1.1 Connector on port 8180 -->
    <Connector port="8180" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true" 
URIEncoding="UTF-8" />

After restarting Tomcat, you should have no more "UTF-8 vs ISO-8859-1" problems.

The second problem you mention appears to be something that has been introduced 
into 1.5.2 -- I am seeing similar symptoms on fresh installs of 1.5.2, 1.5.2rc2 
and 1.6.0, but not on 1.5.1 or anything earlier. There were a number of related 
issues changed in Dspace 1.5.2, as well as a shift to Cocoon 2.2, so it may 
take a while to track this one down! I'll log it in JIRA.

(Basically, the browse parameters that are sent to the form as hidden fields 
are being URLEncode'd in error)

Cheers,

Kim

> -----Original Message-----
> From: Jennifer Whalan [mailto:[email protected]]
> Sent: Tuesday, 7 July 2009 10:18 a.m.
> To: [email protected]
> Subject: Re: [Dspace-tech] URL encoding in browse - XMLUI
> 
>  Geh.
> 
> Should be at the top of this link then:
> http://www.territorystories.nt.gov.au/browse?rpp=20&order=ASC&sort_by=
> -
> 1&etal=-1&type=author&starts_with=Muz
> 
> /crosses fingers that this one will work.
> 
> 
> 
> Jennifer
> 
> 
> Jennifer Whalan
> Systems Support Officer
> Innovation & Access, Northern Territory Library Department of Natural 
> Resources, Environment, The Arts and Sport Northern Territory 
> Government
> 
> Phone:        (08) 8922 0757
> Fax:  (08) 8922 0722
> Email:        [email protected]
> Web:  www.ntl.nt.gov.au
> 
> The information contained in this message and any attachments may be 
> confidential information and may be subject to legal privilege, public 
> interest or legal profession privilege. If you are not the intended 
> recipient, any use, disclosure or copying of this message or any 
> attachments is unauthorised. If you have received this document in 
> error, please advise the sender. No representation or warranty is 
> given that attached files are free from viruses or other defects. The 
> recipient assumes all responsibility for any loss or damage resulting 
> directly or indirectly from the use of any attached files.
> 
> -----Original Message-----
> From: Colin Prince [mailto:[email protected]]
> Sent: Tuesday, 7 July 2009 5:53 AM
> To: [email protected]
> Subject: Re: [Dspace-tech] URL encoding in browse - XMLUI
> 
> Hi Jennifer,
> 
> I followed your first link and couldn't see a "Müller, D." at all. 
> Have you changed this already?
> 
> (I'm tracking this to see if it relates to some weird behaviour we 
> have
> here)
> 
> Thanks,
> Colin
> 
> 
> 
> From: Jennifer Whalan [mailto:[email protected]]
> Sent: Sunday, July 05, 2009 23:01
> To: [email protected]
> Subject: [Dspace-tech] URL encoding in browse - XMLUI
> 
> I have the feeling this may have come up on the list before, perhaps 
> even by me, but......
> 
> 
> Two things (both of which you can try at
> http://www.territorystories.nt.gov.au/browse?type=author)
> 
> First is diacritics in browse. One of our authors is "Müller, D."
> (which you should find at the top of this page
> http://www.territorystories.nt.gov.au/browse?order=ASC&rpp=20&sort_by=
> - 1&etal=-1&offset=5832&type=author), but when you click on the url, 
> the encoding is wrong, which means that no items are displayed.
> 
> 
> The second is a bit stranger, and I've never seen it before myself. On 
> any of the authors, which have a comma, or I am assuming any other 
> non- alphabet character, if you change either one of the sort-by, 
> order or number of results and then click update, the page it displays 
> has no items showing, and it seems to be using the encoding of the 
> comma. You can try it here:
> http://www.territorystories.nt.gov.au/browse?value=Aagaard%2C+Jane.&ty
> p
> e=author.
> 
> 
> Okay, for the technical stuff:
> 
> We are using 1.5.2 XMLUI.
> Our tomcat server.xml has the URIEncoding set to UTF-8.
> 
> Even though I think they're probably separate parts, I tried adding 
> the EncodeUrlTransformer, as shown here 
> http://wiki.dspace.org/index.php/Make_author_and_subject_links_clickab
> l
> e_(Manakin),
> on our test instance, but this did not make any difference. You can 
> see this at http://dspacetest.nt.gov.au
> 
> Also, I know that at least the second problem, didn't happen when we 
> were using 1.5.1, but I'm afraid I don't have any of the sitemaps from 
> this version.
> 
> 
> 
> Thanks
> Jennifer Whalan
> Jennifer Whalan
> Systems Support Officer
> Innovation & Access, Northern Territory Library Department of Natural 
> Resources, Environment, The Arts and Sport Northern Territory 
> Government
> 
> Phone:  (08) 8922 0757
> Fax:    (08) 8922 0722
> Email:  [email protected]
> Web:    www.ntl.nt.gov.au
> 
> The information contained in this message and any attachments may be 
> confidential information and may be subject to legal privilege, public 
> interest or legal profession privilege. If you are not the intended 
> recipient, any use, disclosure or copying of this message or any 
> attachments is unauthorised. If you have received this document in 
> error, please advise the sender. No representation or warranty is 
> given that attached files are free from viruses or other defects. The 
> recipient assumes all responsibility for any loss or damage resulting 
> directly or indirectly from the use of any attached files.
> 
> ----------------------------------------------------------------------
> -
> -------
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> 
> ----------------------------------------------------------------------
> -
> -------
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to