When I try to send over socket it gets converted to on the client side.
If you are sending a sequence of ASCII text lines with strange :) line-enders. I'd alternate using writeUTF(<oneLineString;) with write(lineEndBytes, 0,3) where lineEndBytes is a 3 byte array of [ , , ].
I don't THINK that DataOutputStream should muck with this. You could also use writeBytes(String), but it drops the high byte of each Unicode character in the String; for ASCII that will result in the same output.