[jcifs] Exception when trying to connect

Michael B Allen mba2000 at ioplex.com
Tue Apr 25 19:21:00 GMT 2006

On Tue, 25 Apr 2006 14:08:45 -0400
"Mike Mercier" <mmercier at gmail.com> wrote:

> Hi All,
> Upon further testing I believe I have resolved the issue.
> adding -Djcifs.util.log=10 I get the exception:
> UnsupportedEncodingException: Cp850
> I did a quick google search and notices a post concerning this.  I then
> added -Djcifs.encoding=Cp1252 and it works correctly.  I am not sure what
> the difference is between the 2 workstations.  As I mentioned before, one
> was a ghost image of the other.

See the jcifs.encoding property description on the Overview page of the
API documention. I suspect your versions of Java on each workstation
are slightly different.

> One other thing:
> I have used jcifs in another application that works correctly on the
> workstation that didn't work for the test case.  The difference is, I
> included the jCifs source in the project instead of using the jar library.

That shouldn't make any difference.


More information about the jcifs mailing list