I use slide 2RC1 with Jboss3.0.8+tomcat4.1.24. which seems tomcat's server.xml doesnot work when I start the Jboss+tomcat, I have found that org.apache.slide.urlEncoding=UTF-8 had been set in slide.properties file.
I have follow your words as following:
<contentstore classname="org.apache.slide.store.txfile.TxFileContentStore">
<parameter name="rootpath">slide/fileContent</parameter>
<parameter name="workpath">slide/workContent</parameter>
<parameter name="version">true</parameter>
<parameter name="url-encode-path">true</parameter>
</contentstore>
However, when I successfully upload a file in slide, and use propfindMehtod, the file name still display as ???.txt. the properties shown as following(see <D:href> and <D:displayname>):
------------------------------------------------
<D:response xmlns:D="DAV:"> <D:href>/slide/files/testtomcat%C3%A4%C2%B8%C2%AD%C3%A6%C2%96%C2%87.test</D:href> <D:propstat> <D:prop> <D:displayname>testtomcat??????.test</D:displayname> <D:source></D:source> <D:getlastmodified>Tue, 20 Apr 2004 09:32:20 GMT</D:getlastmodified> <D:getcontentlength>852</D:getcontentlength> <D:resourcetype></D:resourcetype>
<D:getcontenttype>application/octet-stream</D:getcontenttype> <D:getcontentlanguage>en</D:getcontentlanguage> <D:creationdate>2004-04-20T09:17:21Z</D:creationdate> <D:lockdiscovery></D:lockdiscovery> <D:supportedlock> <D:lockentry> <D:lockscope> <D:exclusive></D:exclusive> </D:lockscope> <D:locktype> <D:write></D:write>
</D:locktype> </D:lockentry> <D:lockentry> <D:lockscope> <D:shared></D:shared> </D:lockscope> <D:locktype> <D:write></D:write> </D:locktype> </D:lockentry> </D:supportedlock> <D:modificationdate>2004-04-20T09:32:20Z</D:modificationdate> <D:getetag>791b7c7bddf9ae4259e6c8d2a7ad0f1a</D:getetag> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat>
</D:response>
andFrom: "Jacob Lund" <[EMAIL PROTECTED]> Reply-To: "Slide Users Mailing List" <[EMAIL PROTECTED]> To: "Slide Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: Slide and multiple languange?? Date: Tue, 20 Apr 2004 11:11:24 +0200
what version of slide are you using and what servlet engine are you using?
I have slide 2RC1 working fine with utf-8 encoding on a tomcat 5. Here is
what I did to make it work:
In slide:
Add a parameter url-encode-path in the tx content and descriptors store
anset it to true. (in domain.xml) In tomcat 5: add URIEncoding="UTF-8" as parameter to the connector in server.xml.
I have not tested it with Chinese but it works with Russian and Danish on
English machine.the
Just notice that this requires your client to support UTF-8 encoding.
/jacob
----- Original Message ----- From: "陶 京瑞" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 20, 2004 10:48 AM Subject: Slide and multiple languange??
> hi,
>
> does the Slide support Chinese? if so how to?
>
> I have put a file onto the slide, when I use propfindmethod to display
> file name, the file with Chinese name is shown as ???.txt. I think somehttp://messenger.msn.com/cn
one
> may also face such multiple language problem, but how to deal with it?
>
> Thanks for any help.
>
> _________________________________________________________________
> 与联机的朋友进行交流,请使用 MSN Messenger:
> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]