{"id":128429,"date":"2011-02-16T08:00:00","date_gmt":"2011-02-16T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/percent-encode-capital-letter\/"},"modified":"2011-02-16T18:18:00","modified_gmt":"2011-02-16T18:18:00","slug":"percent-encode-capital-letter","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/percent-encode-capital-letter\/","title":{"rendered":"percent encode capital letter"},"content":{"rendered":"<p>When you use [Options]-[Permalinks]-[Common Options]-[Date and name based], or %postname% in custom URL, entry title will be normalized for fitting to URL permitted letters. If title has non-ASCII letters, those letters cannot be directly put in URL so they are percent-encoded. This is processed in sanitize_title_with_dashes_original() and utf8_uri_encode() .<\/p>\n<p>The reason capital letters in percent encoding required is described on RFC3986 section 2.1,<\/p>\n<blockquote>\n<p>The uppercase hexadecimal digits \u2018A\u2019 through \u2018F\u2019 are equivalent to   the lowercase digits \u2018a\u2019 through \u2018f\u2019, respectively.  If two URIs differ only in the case of hexadecimal digits used in percent-encoded octets, they are equivalent.<\/p>\n<\/blockquote>\n<p>For consistency, URI producers and normalizers should use uppercase hexadecimal digits for all percent-encodings. As you see  RFC2119 section 3, \u201cshould\u201d means you may ignore it with valid reason.<\/p>\n<p>This plugin makes regular URL by which percent encoding was carried out with a capital letter.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This plugin makes regular URL by which percent encoding was carried out with a capital letter.<\/p>\n","protected":false},"author":65,"featured_media":321718,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"percent encode capital letter - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"This plugin makes regular URL by which percent encoding was carried out with a capital letter."},"footnotes":""},"categories":[1],"tags":[35228,1425,35229,982],"class_list":["post-128429","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-percent-encoding-uri","tag-permalink","tag-rfc3986","tag-url"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/128429","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=128429"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/128429\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/321718"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=128429"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=128429"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=128429"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}