Hebrew Strings Submitted To Web Server Aren't Received In Hebrew
I submit a sign up form from my app to the web server: EditText email = (EditText)findViewById(R.id.email); EditText password = (EditText)findViewById(R.id.password); EditText nick
Solution 1:
I think that just doing request.setEntity(new UrlEncodedFormEntity(params));
encodes your parameters in the DEFAULT_CONTENT_CHARSET (see http://developer.android.com/reference/org/apache/http/client/entity/UrlEncodedFormEntity.html).
You should probably use the UrlEncodedFormEntity(List<? extends NameValuePair> parameters, String encoding)
form. Froyo/Android 2.2 added support for displaying text in Hebrew and Arabic (among other languages), including the needed fonts, but I am still looking for Hebrew encoding string...
Have you tried encoding as "UTF-8" or "UTF-16"?
Post a Comment for "Hebrew Strings Submitted To Web Server Aren't Received In Hebrew"