[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [computer-go] GTP and KGS
I tried explicitly sending out character 10 -- no change.
On Wednesday, July 14, 2004, at 12:06 PM, Allan Crossman wrote:
> > Can you check that you're sending LFs (ie ASCII character 10) - I
> > remember Apple used to use carriage returns (ASCII 13) for
> > linebreaks (though whether this is still true in OS X I'm less
> > sure...)
>
> Hmm, how might I check this?
>
> One would hope this wouldn't be a problem, since all of the software
> is written in Java...
Hmm - that may not guarantee everything being the same, since Java
will (I presume, though I don't know) use the local convention.
To check, you just need to find out, one way or another, whether the
ASCII value of the character it's sending out is 10 or 13. I don't
know any Java at all. But you could try writing to a file and looking
at it in a hex editor...
--
Allan Crossman
a.crossman@xxxxxxxxxxxxxxxxx
_______________________________________________
computer-go mailing list
computer-go@xxxxxxxxxxxxxxxxx
http://www.computer-go.org/mailman/listinfo/computer-go/
Peter Drake
Assistant Professor of Computer Science
Lewis & Clark College
http://www.lclark.edu/~drake/
_______________________________________________
computer-go mailing list
computer-go@xxxxxxxxxxxxxxxxx
http://www.computer-go.org/mailman/listinfo/computer-go/