Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个edittext和一个按钮。当我按下按钮时,edittext 中的文本使用 JSON 上传到服务器上。JSON 部分正在使用阿拉伯语和其他东西。我验证了。当我从 mysql 获取值时,我可以用阿拉伯字符设置文本。
谢谢。
编辑:好的。你是对的。问题出在php上。这个想法是,当我在 JSON 中打印并从 MYSql 数据库中读取时,它可以查看阿拉伯文本。但我不能发布它们。
所以,我可以阅读,但我不能用阿拉伯语写作。
Button buton =(Button) findViewById(R.id.button); EditText editmessage =(EditText ) findViewById(R.id.button); button.setetOnClickListener(new View.OnClickListener() { public void onClick(View v) { String message = editmessage.getText().toString() } }