POST UTF-8 encoded data to the server in J2ME
POST UTF-8 encoded data to the server in J2ME: "This sample code shows how to POST UTF-8 encoded data to the server in J2ME. The first requirement is to set the content-type for the connection. You should also use a OutputStreamWriter and pass 'UTF-8' as the second parameter. Also note that the first parameter passed to this function 'data' should be encoded to UTF-8 bytes."

0 Comments:
Post a Comment
<< Home