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.
私のアプリでは、リモートサーバーからファイルをダウンロードしています。元の名前でファイルを保存しています。問題は、URL 名に次のように表示されることです: 03%20Nas%20murrgo%20shov.mp3実際のファイル名はNas murrgo shov.mp3です。では、どうすればファイル名をフォーマットできますか?
文字列が URL エンコードされているようです。試す :
java.net.URLDecoder.decode(filename, "UTF-8");