<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>编码 · Vixyun · 工具与内容</title>
    <link>https://vixyun.top/zh/tags/%E7%BC%96%E7%A0%81/</link>
    <description>「编码」标签下的 2 篇文章。</description>
    <generator>Hugo</generator>
    <language>zh-CN</language>
    <lastBuildDate>Mon, 19 Oct 2026 10:30:00 +0800</lastBuildDate>
    <atom:link href="https://vixyun.top/zh/tags/%E7%BC%96%E7%A0%81/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>URL 编码：+ 还是 %20、; 算不算分隔符、% 为什么会报错</title>
      <link>https://vixyun.top/zh/posts/url-encoding-plus-vs-percent20/</link>
      <pubDate>Sun, 04 Oct 2026 10:20:00 +0800</pubDate>
      <guid>https://vixyun.top/zh/posts/url-encoding-plus-vs-percent20/</guid>
      <description>空格有三种写法（%20、+、原样），路径里的 + 不是空格，; 不是参数分隔符，落单的 % 会让解码抛 URIError；还有 encodeURI 与 encodeURIComponent 的分工。</description>
    </item>
    <item>
      <title>Base64 里的中文和 emoji：为什么 btoa 报错、解出来是乱码</title>
      <link>https://vixyun.top/zh/posts/base64-encoding-chinese/</link>
      <pubDate>Sun, 04 Oct 2026 10:00:00 +0800</pubDate>
      <guid>https://vixyun.top/zh/posts/base64-encoding-chinese/</guid>
      <description>btoa(&#39;你好&#39;) 报错、atob 解出乱码、长度不是 4 的倍数、+ 被当成空格，根因都是一件事：Base64 处理的是字节。附浏览器/Python/Java 的正确写法与 base64url。</description>
    </item>
  </channel>
</rss>
