Fixing Tofu Boxes: Making WSL Display Chinese Characters

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. 1. Install the Chinese language pack sudo apt install language-pack-zh-hans 2. Reconfigure locales sudo dpkg-reconfigure locales In the list that appears, select both en_US.UTF-8 and zh_CN.UTF-8, then pick zh_CN.UTF-8 as the default on the next screen. ...

August 18, 2026 · 1 min · Vinkey

Port Forwarding on Windows, Linux and macOS (with a Command Generator)

Local TCP/UDP port forwarding on all three platforms: Windows has it built in via netsh interface portproxy, while Linux and macOS use socat wrapped in a service so it survives reboots. A comparison table and a troubleshooting checklist are at the end. The parameters are easy to get wrong, so there is a command generator below — fill in the addresses and ports and copy the result. When you need port forwarding The cases I run into most often: ...

August 17, 2026 · 8 min · Vinkey