J2ME and NetBeans
I'm talking with php page which tooks the parameters by GET and return the result as xml file which I read in my mobile application to get the result. (something like ajax)
the problem is that I send in the url some arabic names, like this:
but when I send it it becomes like
All my attempts failed...
url = new String(url.getBytes("utf-8"),"utf-8");
HttpConnection httpConnection = (HttpConnection) Connector.open(new String());
KXmlParser parser = new KXmlParser();
parser.setInput(new InputStreamReader(httpConnection.openInputStream(), "UTF-8"));
parser.require(XmlPullParser.START_TAG, null, rootTag);
the parameter entered in the database like this ????
any help would be greatly appreciated.