I managed to patch it (working with Slide-cvs-head-2.2pre1) :
1. Use org.apache.slide.urlEncoding=ISO8859-1 in slide.properties
2. In org.apache.slide.webdav.util.WebdavUtils class, getRelativePath method, 
change :
if (result == null) {
            if (config.isDefaultServlet()) {
                result = req.getServletPath();
            } else {
                result = req.getRequestURI();
                result = result.substring(req.getContextPath().length()+ 
req.getServletPath().length());
            }
        }

with :

if (result == null) {
            if (config.isDefaultServlet()) {
                result = 
req.getRequestURI().substring(req.getContextPath().length() );
            } else {
                result = req.getRequestURI();
                result = result.substring(req.getContextPath().length()+ 
req.getServletPath().length());
            }
        }


> Submitted a detailed bug report of problem. I hope the slide devels will
> fix this fast! http://issues.apache.org/bugzilla/show_bug.cgi?id=34679
> 
> 
> 
> Le Vendredi 29 Avril 2005 12:55, Alexandre Clavaud a �crit :
> 
>> Thanks, that will be great.
>> 
>> 
>> I have to projects:
>> 1. For a customer, using Slide as Document Management repository,
>> accessing from WebFolder and from Java applications.
>> 
>> 2. For Compiere, an Open Source ERP, using Slide as Document Management
>>  repository full integrated in the application, with Document and
>> Folder
>> types, metadata, workflow, ... If ok, will be part of the core product.
>> 
>> Regards
>> 
>> 
>> Alexandre
>> 
>> 
>>> Hooow shit!
>>> Tried here. Indeed slide mess with the accents when sending it's
>>> result to the client. I created a file with accents. Platform encoding
>>> is utf-8, slide encoding is utf-8, client is the kde webdav protocol
>>> working nicely with accent on other webdav implementations. However,
>>> result of a propfind (sniffed with ethereal) send by slide server is
>>> like if string was converted to an utf-8 byte array and then converted
>>> back to string as an iso8859-1 byte array. (This is the typical round
>>> copyright sign followed by another char which we all see when a
>>> browser tries to open an utf-8 page as an iso8859 one). This look like
>>> it's done before server put it in the propfind result dom. Problem
>>> being it's the server doing the messup before url encoding. For
>>> information, not only the href is wrong but also the displayname.
>>> Clients bear no responsability in problem.
>>> 
>>> 
>>> 
>>> I also took a look in database, as we store document on an oracle
>>> database, the uri and the displayname are all ok. So seems like it's
>>> the servlet on output which mess something. I'll do some step by step 
>>> analysis and keep you informed if i can find a way around this.
>>> 
>>> Note to slide-dev, this is a real problem big problem as the document
>>>  becomes unmanageable!
>>> 
>>> Le Vendredi 29 Avril 2005 11:35, Alexandre Clavaud a �crit :
>>> 
>>>> Then, rather than using utf8, should I use ISO8859-1 ?
>>>> 
>>>> 
>>>>> I have slide 2.1 working with utf8. But you should notice that
>>>>> windows 2000 with office 97 and DAVExplorer does not support utf8.
>>>>> 
>>>>> Have a look at:
>>>>> http://greenbytes.de/tech/webdav/webfolder-client-list.html
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> /jacob
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> ----- Original Message -----
>>>>> From: "Alexandre Clavaud" <[EMAIL PROTECTED]>
>>>>> To: <[email protected]>
>>>>> Sent: Friday, April 29, 2005 8:48 AM
>>>>> Subject: French accent, getting crazy....
>>>>> 
>>>>> 
>>>>>> Hello,
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> Does someone managed to make slide (2.1 or more) working with
>>>>>> french accent ? using Oracle store (Oracle 10g) ? using File
>>>>>> store (linux) ?
>>>>>> using Bea Weblogic (v8.1 on linux) ?
>>>>>> 
>>>>>> 
>>>>>> from DAV Explorer ? from Webfolder on windows 2000 with Office
>>>>>> 97 ?
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> I tried differents combinaison of utf8 and iso8859-1 in
>>>>>> slide.properties but I still get error when getting the file or
>>>>>> when browsing the content of a folder (the file is displayed
>>>>>> with '_' instead of accentued characters).
>>>>>> 
>>>>>> I really need help, I'm getting crazy and I've got a big
>>>>>> project on which I want to use slide.
>>>>>> 
>>>>>> ----------------------------------------------------
>>>>>> Alexandre Clavaud
>>>>>> Consultant Technique
>>>>>> ILEM S.A
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> Tel: +41 79 773 6888
>>>>>> Email : [EMAIL PROTECTED]
>>>>>> ---------------------------------------------------
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> ---------------------------------------------------------------
>>>>>> ----
>>>>>> --
>>>>>> 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]
>>>> 
>>>> ----------------------------------------------------
>>>> Alexandre Clavaud
>>>> Consultant Technique
>>>> ILEM S.A
>>>> 
>>>> 
>>>> 
>>>> Tel: +41 79 773 6888
>>>> Email : [EMAIL PROTECTED]
>>>> ---------------------------------------------------
>>>> 
>>>> 
>>>> 
>>>> 
>>>> -------------------------------------------------------------------
>>>> --
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>> 
>>> 
>>> --
>>> David Delbecq
>>> Royal Meteorological Institute of Belgium
>>> 
>>> 
>>> 
>>> ---------------------------------------------------------------------
>>>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>> 
>> 
>> ----------------------------------------------------
>> Alexandre Clavaud
>> Consultant Technique
>> ILEM S.A
>> 
>> 
>> Tel: +41 79 773 6888
>> Email : [EMAIL PROTECTED]
>> ---------------------------------------------------
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
> 
> --
> David Delbecq
> Royal Meteorological Institute of Belgium
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


----------------------------------------------------
Alexandre Clavaud
Consultant Technique
    ILEM S.A

Tel: +41 79 773 6888
Email : [EMAIL PROTECTED]
---------------------------------------------------


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

Reply via email to