[jcifs] File naming problem
Michael B Allen
mba2000 at ioplex.com
Sat Mar 25 04:36:20 GMT 2006
The default encoding is now Cp850 which is MS-DOS Latin1. See the
overview page of the API documentation for details (in the soon to be
released 1.2.8).
On Sat, 31 Dec 2005 02:19:13 -0500
Michael B Allen <mba2000 at ioplex.com> wrote:
> On Sat, 31 Dec 2005 05:41:55 +0100
> Thomas Bley <thomas.bley at simple-groupware.de> wrote:
>
> > I also tried:
> > System.setProperty( "jcifs.encoding", "Cp1252" ); // gives test______?
> > System.setProperty( "jcifs.encoding", "ISO8859_1" ); // gives test???
> > System.setProperty( "jcifs.encoding", "UTF8" ); // gives test???
> > System.setProperty( "jcifs.encoding", "ASCII" ); // gives test???
>
> Try:
>
> System.setProperty( "jcifs.encoding", "Cp850" );
>
> Running $ testparm -v | grep dos shows that Samba's default OEM encoding
> is Cp850 which is MS-DOS Latin1 which is not the same as ISO-8859-1.
>
> I think perhaps we should change the default OEM_ENCODING from the
> file.encoding property to Cp850.
>
> Mike
>
More information about the jcifs
mailing list