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.
HttpGet でパイプ文字を使用することは可能ですか?
Google DistanceMatrix で使用するなど、パイプで区切られた緯度経度のリストがあり53.42290885462988,-1.4404749870300293|53.39965626194152,-1.4247894287109375ますが、パイプ文字で不正な文字エラーが発生します。
53.42290885462988,-1.4404749870300293|53.39965626194152,-1.4247894287109375
I get an illegal character error on the pipe character.
必要があるencode the | (Pipe Charcter)
encode the | (Pipe Charcter)
だから使うURLEncoder.encode("|","UTF-8");
URLEncoder.encode("|","UTF-8");
ドキュメント
このエラーが発生し、答えが見つからないようです。Google で見つけたものはすべて、私の php を指していますが、何も修正されていないようです。JsonParser クラスは、私の登録ページとログイン ページで機能します。
エラーは
Error parsing data org.json.JSONException: Value <br of type