자바 URLDecoder.decode()

Jmnote bot (토론 | 기여)님의 2020년 11월 2일 (월) 02:49 판 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요[ | ]

자바 URLDecoder.decode()
System.out.println( URLDecoder.decode("%EA%B0%9C%EC%9A%94", "UTF-8") );
// 개요
System.out.println( URLDecoder.decode("http://zetawiki.com/wiki/%EB%8C%80%ED%95%9C%EB%AF%BC%EA%B5%AD", "UTF-8") );
// http://zetawiki.com/wiki/대한민국
System.out.println( URLDecoder.decode("hello+123+http%3A%2F%2Fzetawiki.com+%ED%95%9C%EA%B8%80", "UTF-8") );
// hello 123 http://zetawiki.com 한글

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}