xml-rpc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Rall <...@finemaltcoding.com>
Subject Re: use of getBytes() in WebServer.java
Date Wed, 14 Aug 2002 19:29:29 GMT
Adam Megacz <adam@megacz.com> writes:

> Uh, that's a bit troubling. If I'm on an EBDIC system, getBytes() will
> return EBDIC bytes, and then send them over the socket.
> Shouldn't it be getBytes("ASCII")?

I added a toHTTPBytes() method to handle this.  I have only made use
of it in the regular WebServer class (not in the SecureWebServer class).

Daniel Rall <dlr@finemaltcoding.com>

View raw message