Develop
2013.04.23 16:24
[js] 인터넷 주소(URL) 인코딩 ㅋㅋ
Views 11349 Comment 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>
-
[c++] 기초강좌 #02(레퍼런스,메모리할당)
-
[c++] 기초강좌 #01(입출력,영역지정)
-
[c++] mfc 조건별 파일 검색 프로그램 소스 ㅋㅋ
-
[switch] 시스코 카탈리스트(Cisco Catalyst) 2950 미러링 설정
-
페이팔에서 돈 찾기 (Paypal withdraw)
-
[linux] GD 라이브러리 설치 방법..
-
[linux] vi 편집기 간단한 명령과 환경설정
-
[js] 인터넷 주소(URL) 인코딩 ㅋㅋ
-
[spring] 스프링 IoC/DI
-
[linux] iptables 명령어 매뉴얼(options)
-
[js] 한글주소(URL) 인코딩(encode, Encoding), 자바스크립트(JavaScript)
-
[c++] mfc에서 윈도우 항상 위 속성 주기..