r1261@opsdev009 (orig r67404): mcslee | 2007-11-02 21:48:43 -0700
commit8a6d44122911707e1f37c2a31fb3350599c990b7
author(no author) <(no author)@41a61cd8-c433-0410-bb1c-e256eeef9e11>
Sat, 3 Nov 2007 04:46:23 +0000 (3 04:46 +0000)
committer(no author) <(no author)@41a61cd8-c433-0410-bb1c-e256eeef9e11>
Sat, 3 Nov 2007 04:46:23 +0000 (3 04:46 +0000)
treecea59463c0a348bd5ea8f4b71a5ad51e8f7df1c8
parent28314aad99a1287ba6291177318aa1bad18f6ba9
 r1261@opsdev009 (orig r67404):  mcslee | 2007-11-02 21:48:43 -0700
 Make Java TbinaryProtocol enfore UTF-8

 Summary: Java Strings have to have an encoding, they can't just be binary. The constructor and getBytes() method enforce this, so we are standardizing on UTF-8 to avoid string-mangling.

 Reviewed By: dreiss

 Test Plan: Code all works the exact same in the normal case, and doesn't mangle characters beyond ASCII or ISO-LATIN-1

git-svn-id: http://svn.facebook.com/svnroot/thrift/trunk@649 41a61cd8-c433-0410-bb1c-e256eeef9e11
lib/java/src/protocol/TBinaryProtocol.java