Contents

Views 11385 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>


?

List of Articles
No. Category Subject Author Date Views
625 Develop [js] get방식, url이후 모두 그대로 읽어오기.. hooni 2013.04.23 6870
624 Develop [web] URL 인코딩 방법.. 테이블.. ㅋㅋ hooni 2013.04.23 7182
623 Develop [js] 툴팁.. 좋은거.. (tooltip) file hooni 2013.04.23 7081
622 Develop [js] 스타크래프트(starcraft).. file hooni 2013.04.23 6674
621 Develop [php] 탐색기와 같은 다이나믹 트리(xml/xsl 이용) file hooni 2013.04.23 7203
620 Develop [c] 네트워크 보안 프로그래밍 과제 (Server,Agent,Client) file hooni 2013.04.23 6493
619 Develop [switch] 시스코 카탈리스트(Cisco Catalyst) 2950 미러링 설정 hooni 2013.04.23 11433
618 Develop [c] 시스템 보안 과제.. 시간(amc time) 변경 file hooni 2013.04.23 7204
617 Develop [c] 암호 알고리즘 소스.. file hooni 2013.04.23 8353
616 Develop [c] 지폰(gphone) 소스.. 수정(암호화) file hooni 2013.04.23 7447
615 Develop [c] 파일(int fd)에서 개행문자 단위로 읽기 by 후리자 hooni 2013.04.23 7165
614 Develop [mysql] 양력, 음력 DB데이터 file hooni 2013.04.23 7845
Board Pagination Prev 1 ... 14 15 16 17 18 19 20 21 22 23 ... 71 Next
/ 71