MySql 4.0 does not support UTF-8! Mysql 4.1 should, but it is still in alpha and I have not succeeded in getting it to work yet!
/jacob ----- Original Message ----- From: "陶 京瑞" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 20, 2004 12:32 PM Subject: Re: Slide and multiple languange?? > I thought the problem maybe lie in mySql, since if I use the same chinese > name to download the file in Slide, it success although the file is shown > as ???.txt. I check the file name in mySql, the file show the same as > ???.txt. But I still don't know how can I solve the problem. > > > >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:55:31 +0200 > > > >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:"> > > > > > ><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> > > > > > > >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] > > > > _________________________________________________________________ > 享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com > > > --------------------------------------------------------------------- > 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]