I don't know anything about jboss! But when I used TC 4.1 i had to use the
coyoteconnector and apply useURIValidationHack="false" in order to get UTF-8
working properly.

/jacob

----- Original Message ----- 
From: "陶 京瑞" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 20, 2004 11:43 AM
Subject: Re: Slide and multiple languange??


> thanks for your reply.
>
> 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:">&#10;
>
<D:href>/slide/files/testtomcat%C3%A4%C2%B8%C2%AD%C3%A6%C2%96%C2%87.test</D:
href>&#10;
>    <D:propstat>&#10;
>   <D:prop>&#10;
>     <D:displayname>testtomcat??????.test</D:displayname>&#10;
>     <D:source></D:source>&#10;
>     <D:getlastmodified>Tue, 20 Apr 2004 09:32:20
> GMT</D:getlastmodified>&#10;
>     <D:getcontentlength>852</D:getcontentlength>&#10;
>     <D:resourcetype></D:resourcetype>&#10;
>     <D:getcontenttype>application/octet-stream</D:getcontenttype>&#10;
>
>     <D:getcontentlanguage>en</D:getcontentlanguage>&#10;
>     <D:creationdate>2004-04-20T09:17:21Z</D:creationdate>&#10;
>     <D:lockdiscovery></D:lockdiscovery>&#10;
>     <D:supportedlock>&#10;
>        <D:lockentry>&#10;
>          <D:lockscope>&#10;
>             <D:exclusive></D:exclusive>&#10;
>          </D:lockscope>&#10;
>          <D:locktype>&#10;
>             <D:write></D:write>&#10;
>          </D:locktype>&#10;
>       </D:lockentry>&#10;
>       <D:lockentry>&#10;
>          <D:lockscope>&#10;
>             <D:shared></D:shared>&#10;
>          </D:lockscope>&#10;
>             <D:locktype>&#10;
>                 <D:write></D:write>&#10;
>             </D:locktype>&#10;
>          </D:lockentry>&#10;
>       </D:supportedlock>&#10;
>       <D:modificationdate>2004-04-20T09:32:20Z</D:modificationdate>&#10;
>
>       <D:getetag>791b7c7bddf9ae4259e6c8d2a7ad0f1a</D:getetag>&#10;
>   </D:prop>&#10;
>   <D:status>HTTP/1.1 200 OK</D:status>&#10;
>   </D:propstat>&#10;
> </D:response>
>
> >From: "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
> and
> >set 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
> an
> >English machine.
> >
> >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
> the
> > > file name, the file with Chinese name is shown as ???.txt. I think
some
> >one
> > > may also face such multiple language problem, but how to deal with it?
> > >
> > > Thanks for any help.
> > >
> > > _________________________________________________________________
> > > 与联机的朋友进行交流,请使用 MSN Messenger:
> http://messenger.msn.com/cn
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to