Hi Taisuke, In the WebdavMethod() constructor, there is a call:
this.requestUri = WebdavUtils.getRelativePath( req, config ); It gets the request path by: result = req.getPathInfo(); I have added debug code in this function to display the path at this point. This is the path coming directly from the HttpServletRequest, before Slide has has a chance to screw with it! Even here, the path already appears to be garbage. Further evidence that Windows may be doing something strange is the following: I have written my own browser based client to access Slide. Using this client, Chinese filenames are handled correctly, from IE, Opera, and Mozilla, both on Windows and Linux! Using Windows XP web folders, the filenames get screwed. I suppose this could still be a slide server problem, but I don't see how? To answer your question, the filename is NOT UTF-8 when stored on the server (in a database). Satish On Wed, 2003-07-30 at 14:11, Taisuke Yamada wrote: > > When I upload a file with non ascii (multibyte) characters in the > > filename, the upload is successful, and the file is displayed correctly > > in the webfolder. But when I do a refresh, it just displays as ?? > > I'm not sure if this is the case, but it seems there's a bug in Slide > code that URI-escapes correct UTF-8 filename into real garbage (forgot > whether it was in client library or Slide core - will look into it again > later). This causes correctly uploaded files look broken. I recall this > was a problem related to String.getBytes() method and file.encoding > property. > > Can you check charset encoding of filename that is actually on the > server filesystem (or database)? Is it in UTF-8? > > -- > Taisuke Yamada <[EMAIL PROTECTED]> > Internet Initiative Japan Inc., Technical Planning Division > > --------------------------------------------------------------------- > 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]
