Jinterface question

Patrik Nyblom pan@REDACTED
Fri Feb 25 10:18:45 CET 2000


Richard Carlsson wrote:

> On 23 Feb 2000, Gordon Beaton wrote:
>
> > On 23 Feb 2000 09:29:38 GMT, Richard Carlsson wrote:
> > > -> LOOKUP (r4) foo@REDACTED
> > > <- PORT 55098
> > > -> MD5 CONNECT TO harpo.it.uu.se:55098
> > > -> HANDSHAKE sendName flags=4 dist=5 local=pp_client@REDACTED
> > > <- HANDSHAKE recvStatus (ok) local=pp_client@REDACTED
> > > <- HANDSHAKE recvChallenge from=foo@REDACTED challenge=218089577
> > > local=pp_client@REDACTED
> > > -> HANDSHAKE sendChallengeReply challenge=-437147855
> > > digest=283f393f3f3f3f683f73304a3f3f3157 local=pp_client@REDACTED
> >
> > Hmm... what does 'java -version' say?
>
> java version "1.2.2"
> Classic VM (build JDK-1.2.2-001, green threads, sunwjit)
>
> > (I've heard a rumour that some of the bitshifting done in the MD5
> > handshake doesn't work properly on all jvm's, but I have yet to see
> > this myself).
>
> Well, I hope some clever person finds the problem; I don't have the time
> to get deeper into this myself. Glad to hear I wasn't the only one who had
> encountered this, though.
>
>         /Richard

Try this workaround:

export LC_CTYPE=iso_8859_1

(or setenv LC_CTYPE  iso_8859_1 if using (t)csh)
and then run your program.

There will be a patch to remove the character encoding dependency in the
handshake *very* soon.

> Richard Carlsson (richardc@REDACTED)   (This space intentionally left blank.)
> E-mail: Richard.Carlsson@REDACTED      WWW: http://www.csd.uu.se/~richardc/




More information about the erlang-questions mailing list