asp.net - Android JSON string server not show arabic character -


i write simple app in android,but when send arabic character json asp.net server page,in server not known arabic character , show me this:

["????"] 

encode arabic string , send string,

public static string getencodedstring(string str) {     string ret = null;     try {         ret = base64.encode(str.getbytes("utf-8"));      } catch (exception e) {         e.printstacktrace();     }     return ret; } 

Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

[C++][SFML 2.2] Strange Performance Issues - Moving Mouse Lowers CPU Usage -

ios - Possible to get UIButton sizeThatFits to work? -