Develop
2013.04.23 16:24
[js] 인터넷 주소(URL) 인코딩 ㅋㅋ
조회 수 11388 댓글 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)
-
[c++] mfc에서 윈도우 항상 위 속성 주기..
-
[js] 인터넷 주소(URL) 인코딩 ㅋㅋ
-
[spring] 스프링 IoC/DI
-
[switch] 시스코 카탈리스트(Cisco Catalyst) 2950 미러링 설정
-
[c++] mfc 조건별 파일 검색 프로그램 소스 ㅋㅋ
-
[ios] UIButton multi-line iOS7
-
[c++] 기초강좌 #01(입출력,영역지정)
-
페이팔에서 돈 찾기 (Paypal withdraw)
-
[c++] 기초강좌 #02(레퍼런스,메모리할당)
-
[c++] mfc 이용한 기본적인 형변환 예제
-
[c] 테트리스(Tetris) 게임(도스용) 소스코드