Develop
2013.04.23 16:24
[js] 인터넷 주소(URL) 인코딩 ㅋㅋ
조회 수 11356 댓글 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>
-
[php] Connect to Firebase Console in Laravel
-
[php] 3 Ways to Detect Mobile or Desktop in PHP
-
[pdf] 포인터 문법 정리 (C pointer)
-
[pdf] 윈도우즈 95 시스템 프로그래밍(Windows 95 system programming)
-
[pdf] GPS의 동작 원리 ㅎㅎ
-
[pdf] C++ 국제 표준 문서
-
[pdf] C 국제 표준 문서
-
[opengl] 컴퓨터 그래픽스 강의 자료(수업자료)
-
[node.js] 지금 하고 있는거..
-
[node.js] nodejs 기본 설치
-
[mysql] 양력, 음력 DB데이터
-
[maven] Mac OS에 메이븐(maven) 설치하기