Develop
2013.04.23 16:24
[js] 인터넷 주소(URL) 인코딩 ㅋㅋ
조회 수 11384 댓글 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>
-
[ios] URL Scheme 이용하여 앱 설치 확인
-
[ios] URL 랜딩 속도(OpenURL 10초 정지되는) 이슈
-
[ios] URL 파라미터 파싱~
-
[ios] Using protobuf(Protocol Buffers) on iPhone (iOS)
-
[ios] UUID 생성 + Key Chain 연동
-
[ios] ViewController Push할 때 애니메이션 효과
-
[ios] VIN Scanner (VIN barcode) 스캐너
-
[ios] WWDC 2015 샘플 소스 코드 통합파일
-
[ios] Xcode cannot run using the selected device
-
[iOS] Xcode 불필요한 캐시 삭제하기
-
[ios] Xcode를 사용해서 Static Library 만들기 (시뮬레이터 + 디바이스)
-
[ios] XCode에서 Provisioning Profile 여러개 중복될 때