I have a problem with sending things to the server (java) which wants me to send him POST request with stream of data.
Data must have format: utf-8 utf-8 utf-8...
meaning few utf-8 strings (no spaces between them), first two bytes of every utf string should be "number of bytes of this string"

How can I do it? I'm completelly lost. I don't need only convert characters, but whole strings (meaning add two bytes at the beginning)

I was using HBufC for sending requests, but how can I make him send number(two bytes)string...another_number(two bytes)string...etc..