[jcifs] Davenport Issue Report: Square non printable characters
Michael B Allen
mba2000 at ioplex.com
Sat Aug 5 23:56:54 GMT 2006
It's not uncommon for apache to simply use whatever encoding it is
configured to send regardless of what the DOCTYPE in the output says. I
guess it's too time consuming for it to parse every file it sends.
But thinking about it more I doubt that's what the problem is because
Davenport most likely sets the content-type header explicitly itself. And
even if the encoding was wrong it would have to be REALLY wrong for all
the characters to be "little non printable character square boxes". That
could be anything. It could be a servlet container issue. It could be
a davenport issue. It could be a font issue on the client.
On Sat, 05 Aug 2006 14:38:03 -0500
"Christopher R. Hertel" <crh at ubiqx.mn.org> wrote:
> Could the server be sending an incorrect character encoding value?
> Michael B Allen wrote:
> > My first thought was that the server is sending a Content-Type with one
> > thing while the content is actually in another. That's the sort of thing
> > that would cause a problem like this anyway.
> > Mike
> > On Sat, 5 Aug 2006 07:16:38 -0400
> > "Eric Glass" <eric.glass at gmail.com> wrote:
> >> Is this seen in the WebDAV view, HTML view, or both? If you can grab
> >> a packet capture of the HTTP/WebDAV traffic between the client and the
> >> webserver, that would likely be the easiest to troubleshoot (as that
> >> would indicate whether the app is sending something strange or if it
> >> is a client interpretation issue). If it's occurring in the HTML
> >> view, if you could save one of the pages and forward it for review
> >> that might help too (the servlet basically generates the PROPFIND
> >> result and uses XSLT to transform it to HTML, so that may be where the
> >> issue is in this case).
> >> Finally, if you can give some environment specs (servlet
> >> engine/version, platform, whether hitting app server directly or going
> >> through Apache/IIS etc.) that may give some insight also.
> >> Eric
> >>> Hi all,
> >>> I have Davenport working in one environment with a completely
> >>> unchanged web.xml file. No customizations. I am moving it to a new
> >>> environment, and now when I fire up the same (latest version!) exact
> >>> code I get little non printable character square boxes. I've also
> >>> seen chinese/japanese characters show up on other PC's! The file
> >>> size and last modified dates are correct, just the name of the file
> >>> and directories shows up weird. Also the "." this directory and ".."
> >>> up one directorys show up as 1 and two character square boxes!
> >>> Here is my bug report:
> >>> Directories and file names show up as square boxes, instead of
> >>> letters. Alternatively, they show up as chinese characters on some
> >>> PC's.
> >>> The top level directories show up in normal English text:
> >>> \\myserver\myshare
> >>> But when I click on the "myshare" link then all the subfolders show
> >>> up in boxes. On another server I have the same version of Davenport
> >>> installed, and everything works properly. Any ideas? Same version
> >>> of Java 1.4 etc.
> >>> Eric Pugh
> >>> -------------------------------------------------------
> >>> Principal
> >>> OpenSource Connections
> >>> Site: http://www.opensourceconnections.com
> >>> Blog: http://blog.opensourceconnections.com
> >>> Cell: 1-434-466-1467
> "Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
> Samba Team -- http://www.samba.org/ -)----- Christopher R. Hertel
> jCIFS Team -- http://jcifs.samba.org/ -)----- ubiqx development, uninq.
> ubiqx Team -- http://www.ubiqx.org/ -)----- crh at ubiqx.mn.org
> OnLineBook -- http://ubiqx.org/cifs/ -)----- crh at ubiqx.org
Michael B Allen
PHP Active Directory SSO
More information about the jcifs