Contents

Views 11349 Comment 0
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print
?

Shortcut

PrevPrev Article

NextNext Article

Larger Font Smaller Font Up Down Go comment Print

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>


?

  1. [c++] 기초강좌 #02(레퍼런스,메모리할당)

  2. [c++] 기초강좌 #01(입출력,영역지정)

  3. [c++] mfc 조건별 파일 검색 프로그램 소스 ㅋㅋ

  4. [switch] 시스코 카탈리스트(Cisco Catalyst) 2950 미러링 설정

  5. 페이팔에서 돈 찾기 (Paypal withdraw)

  6. [linux] GD 라이브러리 설치 방법..

  7. [linux] vi 편집기 간단한 명령과 환경설정

  8. [js] 인터넷 주소(URL) 인코딩 ㅋㅋ

  9. [spring] 스프링 IoC/DI

  10. [linux] iptables 명령어 매뉴얼(options)

  11. [js] 한글주소(URL) 인코딩(encode, Encoding), 자바스크립트(JavaScript)

  12. [c++] mfc에서 윈도우 항상 위 속성 주기..

Board Pagination Prev 1 ... 31 32 33 34 35 36 37 38 39 40 ... 98 Next
/ 98