<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>Encoding on Shaowen Chen's Website</title><link>https://www.chenshaowen.com/en/tags/encoding/</link><description>Recent content in Encoding on Shaowen Chen's Website</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>&amp;copy;2016 - {year}, All Rights Reserved.</copyright><lastBuildDate>Mon, 08 Jun 2020 00:00:00 +0000</lastBuildDate><sy:updatePeriod>weekly</sy:updatePeriod><atom:link href="https://www.chenshaowen.com/en/tags/encoding/atom.xml" rel="self" type="application/rss+xml"/><item><title>Incomplete Data When Using Base64 to Decode JWT Playload</title><link>https://www.chenshaowen.com/en/blog/incomplete-data-using-base64-decoding-jwt-playload.html</link><pubDate>Mon, 08 Jun 2020 00:00:00 +0000</pubDate><atom:modified>Mon, 08 Jun 2020 00:00:00 +0000</atom:modified><guid>https://www.chenshaowen.com/en/blog/incomplete-data-using-base64-decoding-jwt-playload.html</guid><description>When Base64-decoding a JWT, I found that the JSON data was incomplete. This article mainly introduces the relevant knowledge and solves this problem. 1. Introduction to JWT JWT passes authentication by setting Authorization: Bearer &amp;lt;token&amp;gt; in the Header. A JWT Token is a Base64-encoded string joined by dots, something like</description><dc:creator>微信公众号</dc:creator><category>Go</category><category>JWT</category><category>Encoding</category><category>Base64</category><category>Security</category><category>R&amp;D</category></item><item><title>Getting Started with Character Encoding in Python</title><link>https://www.chenshaowen.com/en/blog/python-coding.html</link><pubDate>Tue, 08 Nov 2016 20:21:42 +0000</pubDate><atom:modified>Tue, 08 Nov 2016 20:21:42 +0000</atom:modified><guid>https://www.chenshaowen.com/en/blog/python-coding.html</guid><description>Background: I had just finished a Django data-query web project. The data came from internal API queries, and every query had to call several APIs to fetch the data and render it on the front-end page. Since the relevant data does not change often, I designed a cache to improve</description><dc:creator>微信公众号</dc:creator><category>Python</category><category>Encoding</category><category>R&amp;D</category><category>Learning</category></item></channel></rss>