[jcifs] cp850 problems
mike.streeton at ardentia.co.uk
Mon Jun 5 17:10:35 GMT 2006
Thanks for this Richard, why would it work on one machine and not
another? We are using the same JRE, we install this as part of
application install so we know it is exactly the same.
www.ardentia.com the home of NetSearch
From: Richard Caper [mailto:rcaper at gmail.com]
Sent: 05 June 2006 18:08
To: Mike Streeton
Cc: Michael B Allen; jcifs at lists.samba.org
Subject: Re: [jcifs] cp850 problems
Line 127 of jcifs.smb.SmbConstants:
static final String OEM_ENCODING = Config.getProperty(
"jcifs.encoding", "Cp850" );
i.e. if you don't define jcifs.encoding as something else it will
always default to cp850.
On 6/5/06, Mike Streeton <mike.streeton at ardentia.co.uk> wrote:
> Thanks for this. I have dumped out jcifs.encoding using
> jcifs.Config.list(), but this is showing no value being set the system
> property for file.encoding is cp1252. Where would it get the default
> from. We are running the same code on several machines, but one
> always fails, they are all on the same network etc same language etc.
> www.ardentia.com the home of NetSearch
> -----Original Message-----
> From: Michael B Allen [mailto:mba2000 at ioplex.com]
> Sent: 05 June 2006 17:18
> To: Mike Streeton
> Cc: jcifs at lists.samba.org
> Subject: Re: [jcifs] cp850 problems
> On Mon, 5 Jun 2006 17:00:29 +0100
> "Mike Streeton" <mike.streeton at ardentia.co.uk> wrote:
> > We have a directory browser that is very similar or NetworkExplorer.
> > This works okay except on one of our machines where we get the
> > error:
> > java.io.UnsupportedEncodingException: Cp850
> > sun.io.Converters.getConverterClass(Unknown Source)
> > We are using 1.2.9 of the jar, where does it pick the cp850 up from?
> > it user/system/environment.
> See the overview page of the API documentation for details.
> Michael B Allen
> PHP Extension for SSO w/ Windows Group Authorization
More information about the jcifs