<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>WSL on Geek Vinkey</title>
    <link>https://www.mawenqian.com/en/tags/wsl/</link>
    <description>Recent content in WSL on Geek Vinkey</description>
    <image>
      <title>Geek Vinkey</title>
      <url>https://www.mawenqian.com/images/papermod-cover.png</url>
      <link>https://www.mawenqian.com/images/papermod-cover.png</link>
    </image>
    <generator>Hugo</generator>
    <language>en</language>
    <copyright>MA Wenqian · mawenqian.com</copyright>
    <lastBuildDate>Tue, 18 Aug 2026 13:18:43 +0800</lastBuildDate>
    <atom:link href="https://www.mawenqian.com/en/tags/wsl/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Fixing Tofu Boxes: Making WSL Display Chinese Characters</title>
      <link>https://www.mawenqian.com/en/wsl-chinese-font/</link>
      <pubDate>Tue, 18 Aug 2026 09:10:00 +0800</pubDate>
      <guid>https://www.mawenqian.com/en/wsl-chinese-font/</guid>
      <description>&lt;p&gt;A fresh WSL install shows every Chinese character as an empty box. My host system is English Windows, which is probably why: WSL has neither a Chinese locale nor a font capable of rendering the characters. Adding both fixes it.&lt;/p&gt;
&lt;!-- more --&gt;
&lt;h2 id=&#34;1-install-the-chinese-language-pack&#34;&gt;1. Install the Chinese language pack&lt;/h2&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo apt install language-pack-zh-hans
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;2-reconfigure-locales&#34;&gt;2. Reconfigure locales&lt;/h2&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sudo dpkg-reconfigure locales
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;In the list that appears, select both &lt;code&gt;en_US.UTF-8&lt;/code&gt; and &lt;code&gt;zh_CN.UTF-8&lt;/code&gt;, then pick &lt;code&gt;zh_CN.UTF-8&lt;/code&gt; as the default on the next screen.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Port Forwarding on Windows, Linux and macOS (with a Command Generator)</title>
      <link>https://www.mawenqian.com/en/port-forward/</link>
      <pubDate>Mon, 17 Aug 2026 10:30:00 +0800</pubDate>
      <guid>https://www.mawenqian.com/en/port-forward/</guid>
      <description>&lt;p&gt;Local TCP/UDP port forwarding on all three platforms: Windows has it built in via &lt;code&gt;netsh interface portproxy&lt;/code&gt;, while Linux and macOS use &lt;code&gt;socat&lt;/code&gt; wrapped in a service so it survives reboots. A comparison table and a troubleshooting checklist are at the end.&lt;/p&gt;
&lt;p&gt;The parameters are easy to get wrong, so there is a &lt;strong&gt;command generator&lt;/strong&gt; below — fill in the addresses and ports and copy the result.&lt;/p&gt;
&lt;!-- more --&gt;
&lt;h2 id=&#34;when-you-need-port-forwarding&#34;&gt;When you need port forwarding&lt;/h2&gt;
&lt;p&gt;The cases I run into most often:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
