I am working on a project in which I am using this library https://github.com/ankushsachdeva/emojicon. I am able to see the Emoji Keyboard but when I am sending the text from Editext which contains Emoji Icons they are converted into ??
After some research I found out this solution Post UTF-8 encoded data to server loses certain characters
By using this
form = new UrlEncodedFormEntity(nameValuePairs,"UTF-8");
the problem get solved. But I have to use MultipartEntity to send images also to server.
When I set Encoding in MultiPartEntity like below:
MultiPartEntity entity = new MultiPartEntity(HttpMultipartMode.BROWSER_COMPATIBLE,
null, Charset.forName("UTF-8"), new MultiPartEntity.ProgressListener() {
@Override
public void transferred(long num) {
}
});
It is not working here, how can achieve the same with MultipartEntity. Please help me.