pushyrpc / pushy

Easy-as RPC. Zero-server RPC for Python and Java.
http://github.com/pushyrpc/pushy
45 stars 18 forks source link

Java pushy.io.FileInputStream.read() incorrectly translates bytes to UTF-8 #13

Closed axw closed 12 years ago

axw commented 12 years ago

The String obtained from the Python process is translated to UTF-8, and then into a byte[] array. In the process, the bytes are transformed if they form an invalid UTF-8 sequence. This method should leave the bytes obtained from the Python process unchanged.


Imported from Launchpad using lp2gh.