URL encoding 함수를 만들고 있는데요.
다른 소스보니까.. '?' '=' 같은 문자도 다 '%' 형식으로 변환 시키더라구요
일반적인 웹사이트에서 '?' '=' 같은 문자들은 인코딩 안되고 그대로 표시되던데..
어떤 것이 정말 맞는 방법인지 알고 싶습니다.
고수님들의 조언 부탁드립니다.
http://tools.ietf.org/html/rfc3986#section-2
어떤 문자를 인코딩할지, 인코딩하지 말아야할지 알 수 있습니다.
query string 인지 data 인지를 구분하시면 됩니다.
https://xenosi.de/
텍스트 포맷에 대한 자세한 정보
<code>
<blockcode>
<apache>
<applescript>
<autoconf>
<awk>
<bash>
<c>
<cpp>
<css>
<diff>
<drupal5>
<drupal6>
<gdb>
<html>
<html5>
<java>
<javascript>
<ldif>
<lua>
<make>
<mysql>
<perl>
<perl6>
<php>
<pgsql>
<proftpd>
<python>
<reg>
<spec>
<ruby>
<foo>
[foo]
http://tools.ietf.org/html/rf
http://tools.ietf.org/html/rfc3986#section-2
어떤 문자를 인코딩할지, 인코딩하지 말아야할지 알 수 있습니다.
query string 인지 data 인지를
query string 인지 data 인지를 구분하시면 됩니다.
https://xenosi.de/
댓글 달기