@jakarta.apache.org
Sent: Monday, January 17, 2005 10:38 AM
Subject: turkish filenames
Hi
I am trying to store files with names including turkish characters but I
can't.
My configuration:
- latest version of slide,2.1, downloaded a few days ago.
- JDBCStore, PostgresRDBMSAdapter. Database encoding
Hi,
I had the same problem with Icelandic and Swedish character and the
solution is to set the URIEncoding=UTF-8 for connectors in tomcats
server.xml
like this:
!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 --
Connector port=8090
maxThreads=150
hi again,
first of all thanks for your interest and rapid replies.
but I still have the problem :)
I changed tomcat connector URIEncoding. I restarted jboss, redeployed
original slide distribution(without my modifications) , but the
problem still exists.
by the way as I wrote in my first
.
/jacob
- Original Message -
From: Serkan zkan [EMAIL PROTECTED]
To: Slide Users Mailing List slide-user@jakarta.apache.org
Sent: Monday, January 17, 2005 1:10 PM
Subject: Re: txFileStore and encoding (WAS: Re: turkish filenames)
hi again,
first of all thanks for your interest and rapid replies
I'm not sure but I think the tomcat bundled with jboss 3.2.5 behaves
differently regarding url encoding. I seem to remember some issue with
it. Could you test the standalone tomcat version 5.0.x, and confirm that
it works or not. I think jboss 3.2.5 requires a different hack in
fixTomcatURL
sorry, I have changed the wrong configuration file :)
URIEncoding=UTF-8 is working fine. but I still wonder if there is
another way to do this, if you know another way I would like to hear
that. changing tomcat configuration may not be always possible.
thanks again for your help
Yes, it's possible to fix the url after it has been decoded (unescaped)
by the container. Something like this may work:
url = new String(decodedurl.getBytes(ISO-8859-1), UTF-8);
Carlos
Serkan Özkan wrote:
sorry, I have changed the wrong configuration file :)
URIEncoding=UTF-8 is working