{"width":"100%","url":"https://int128.hatenablog.com/entry/2017/10/17/125858","author_url":"https://blog.hatena.ne.jp/int128/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fint128.hatenablog.com%2Fentry%2F2017%2F10%2F17%2F125858\" title=\"JavaScript\u306b\u304a\u3051\u308bURL\u30a8\u30f3\u30b3\u30fc\u30c9\u3055\u308c\u305fCookie\u306e\u53d6\u5f97 - GeekFactory\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://int128.hatenablog.com/","image_url":null,"blog_title":"GeekFactory","provider_url":"https://hatena.blog","published":"2017-10-17 12:58:58","author_name":"int128","title":"JavaScript\u306b\u304a\u3051\u308bURL\u30a8\u30f3\u30b3\u30fc\u30c9\u3055\u308c\u305fCookie\u306e\u53d6\u5f97","version":"1.0","categories":["javascript"],"height":"190","provider_name":"Hatena Blog","type":"rich","description":"JavaScript\u3067URL\u30a8\u30f3\u30b3\u30fc\u30c9\u3055\u308c\u305f\u6587\u5b57\u5217\u3092\u5909\u63db\u3059\u308b\u306b\u306f decodeURIComponent \u3092\u4f7f\u7528\u3057\u307e\u3059\u304c\u3001UTF-8\u4ee5\u5916\u306e\u5834\u5408\uff08Shift-JIS\u7b49\uff09\u306f\u6587\u5b57\u30b3\u30fc\u30c9\u5909\u63db\u304c\u5fc5\u8981\u3067\u3059\u3002encoding.js\u3092\u4f7f\u3046\u3068\u4e0b\u8a18\u306e\u3088\u3046\u306b\u66f8\u3051\u307e\u3059\u3002 github.com Encoding.codeToString(Encoding.convert(Encoding.urlDecode(value), 'UNICODE', 'AUTO')); Cookie\u3092\u53d6\u5f97\u3059\u308b\u306b\u306fjs-cookie\u304c\u4fbf\u5229\u3067\u3059\u3002 github.com Converter\u3092\u4f7f\u3046\u3068\u524d\u51e6\u7406\u3067\u6587\u5b57\u30b3\u30fc\u30c9\u3092\u5909\u63db\u3057\u3066\u304a\u304f\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002 C\u2026"}