15
Estoy tratando de permitir el soporte multilingüe en mi aplicación que hace una publicación HTTP para cargar nuevos mensajes. ¿Qué debo hacer para admitir el japonés & en otros idiomas no latinos? Actualmente mi código es como la siguiente:Cómo enviar caracteres Unicode en un HttpPost en Android
//note the msg string is a JSON message by the time it gets here...
private String doHttpPost(String url, String msg)
throws Exception {
HttpPost post = new HttpPost(url);
StringEntity stringEntity = new StringEntity(msg);
post.setEntity(stringEntity);
return execute(post);
}
que funcionó a la perfección, gracias Pedro. – Ben
Tengo el mismo problema ¿me ayudarías en esto? – Kenji
muchas gracias ... realmente me ayudó. – Jim