私の Android アプリケーションでは、PHP URL から JSON 応答文字列を取得します。応答から、 のホテル名をいくつか取得します。代わりに文字apostrophe
を取得します。Androidで特殊文字を使用してホテルを解析するにはどうすればよいですか?'
apostrophe
I can see the apostrophe in the browser but could not see in android logcat.
試してみましたが、ホテル名をjresponse = URLEncoder.encode(jresponse,"UTF-8");
取得できませんでした。apostrophe
これは、応答のホテル名の 1 つです。
I see the following in browser.
{"id":12747,
"name":"Oscar's",
....
}
But in the logcat:
id 12747
name Oscar's