Re: URI encoding
Eirikur Hrafnsson <[email protected]> Wed, 21 Mar 2007 12:26:08 +0000
| Newsgroups | gmane.comp.jakarta.slide.user |
|---|---|
| Message-ID | <[email protected]> |
In my Slide experience using UTF-8 is the best way to go. However then you have to specifically set your webdav client (like Netdrive) to use UTF encoding and also the server with URIEncoding="UTF-8" (in server.xml). Also you need to set CATALINA_OPTS in startup.sh to use a JVM option (-Dfile.encoding=UTF-8) and to be completely safe (for jvm 1.5 at least on Linux) you need to set the LANG environment variable to something like "en_US.UTF8". I usually do that in startup.sh also with " export LANG = "en_US.UTF8" at the top. good luck Best Regards Eirikur S. Hrafnsson, [email protected] Chief Software Engineer Idega Software http://www.idega.com On Mar 21, 2007, at 12:11 PM, [email protected] wrote: > It is worse than I thought. I think that what happened was that > the filenames were cached in IE, and only apeared to be right. When > I refreshed after some time, I still get gibrish file names. :( > > -----Original Message----- > From: [email protected] > To: [email protected] > Sent: Wed, 21 Mar 2007 1:31 PM > Subject: URI encoding > > Hi > > > > I am trying to use slide with hebrew file names. At first the > filenames would > get > > changed to gibrish after the upload. I then added to the /conf/ > server.xml the > > > > <Connector port="8080" protocol="HTTP/1.1" > > maxThreads="150" connectionTimeout="20000" > > redirectPort="8443" URIEncoding="Cp1255" > useBodyEncodingForURI="true"/> > > > > and then the file names staid what they were on the client machine, > but I can't > do with > > them anything, not delete/rename/copy etc'. With english named file > there isn't > such > > a problem. How can I make the hebrew file names work? > > > > > ______________________________________________________________________ > __ > Check Out the new free AIM(R) Mail -- 2 GB of storage and industry- > leading spam > and email virus protection. > > ______________________________________________________________________ > __ > Check Out the new free AIM(R) Mail -- 2 GB of storage and industry- > leading spam and email virus protection.