Develop
2013.04.23 16:24
[js] 인터넷 주소(URL) 인코딩 ㅋㅋ
조회 수 11384 댓글 0
URL 인코딩~
<html> <body> <script type="text/javascript"> var s; s = encodeURI('http://google.com/소 설.html'); document.write('<p>' + s + '<p>'); //결과 http://google.com/%EC%86%8C%20%EC%84%A4.html s = encodeURIComponent('http://google.com/소 설.html'); document.write('<p>' + s + '<p>'); //결과 http%3A%2F%2Fgoogle.com%2F%EC%86%8C%20%EC%84%A4.html s = escape('http://google.com/소 설.html'); document.write('<p>' + s + '<p>'); //결과 http%3A//google.com/%uC18C%20%uC124.html </script> </body> </html>
-
[js] 한글주소(URL) 인코딩(encode, Encoding), 자바스크립트(JavaScript)
-
[js] jQuery 관련 사이트 링크 모음
-
[js] Text 중 URL 형식을 인식해 단축 URL로 변경
-
[php] 몽이가 준 ajax 채팅 소스 ㅋㅋ
-
[js] jQuery 관련 문서 ㅎㅎ
-
[js] 인터넷 주소(URL) 인코딩 ㅋㅋ
-
[java] 날짜 계산 (Date, SimpleDateFormat)
-
[java] 스트러츠(Struts) 세팅 ㅋㅋ
-
[js] 파이어폭스(Firefox;F/F)에서 outerHTML 작동하도록 만든 메소드
-
[android] ArrayAdapter 테스트 파일 ㅎㅎ
-
[android] ArrayAdapter를 이용하여 출력하기
-
[android] ListView+ArrayAdapter 테스트