[jcifs] Re: Encoding Problems under Linux ?

Michael Schlegel lulog1 at yahoo.de
Fri Jul 14 11:05:08 GMT 2006


Michael B Allen <mba2000 <at> ioplex.com> writes:

> 
> There are a number of places where the encoding of path names can be
> different. You have the remote filesystem, then the server may translate
> that into a different encoding, the client might then translate it
> again, the client's internal encoding, and then the client filesystem
> encoding. It sounds like you're not concerned with the last three
> possibilities and if the remote server is really a Windows machine
> running NT or above then the remote server will send Unicode (unless
> you have useUnicode set to false). So in all likelyhood you need only
> tweek the jcifs.encoding property but the defaults should work.
> 
> Try setting jcifs.encoding to CP850. Note that some JVMs do not ship with
> CP850 support. See the notes in the API documentation about this property.
> 
> Mike
> 
> [1] Note CP850 is 
> 
> On Thu, 13 Jul 2006 13:50:49 +0000 (UTC)

Hi !

I tried to set jcifs.encoding but nothing changed.
Note that i tried the same test under Solaris and Windows and it works
(without setting encodings, ... ).
Some System-Information: 
- Remote System = Windows 2000 Service Pack 4
- Client System = Red Hat Enterprise Linux ES release 4 (Nahant Update 2)
  Kernel release: 2.6.9-22.EL
- java version "1.4.2_12"
  Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)
  Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode)
- jcifs 1.2.9






More information about the jcifs mailing list