Http Content Length is inconsistent when send Chinese text

Hi, I’m using plugin VaRest to send Http request-response to my Java Web Server, and I found if the VaRest Send Chinese String, the content length in Http header will be inconsistent with Message Body in Http.
For Example : I send message as attached

47464-screen+shot+2015-06-23+at+下午5.41.47.png

, the Content-Length in Http Header is 140, but what I got is only 134.

My Java Server Socket Reader’s Charsets is “UTF-8”, the code is below:
_reader = new BufferedReader(new InputStreamReader(_socket.getInputStream(), StandardCharsets.UTF_8));

Hi, I found this is my fault, I use the wrong API to count Http Message Body Length.

Hi ZenTechEntertainment,

How were you able to get the HTTP request and HTTP module to send Chinese characters? We’re having trouble with it; it seems like the module converts the int values of the characters down to uint8 before sending, so we lose all Chinese character in the process. How did you get around this?

Thanks!