Skip to content

Instantly share code, notes, and snippets.

@syneart
Last active April 15, 2021 05:03
Show Gist options
  • Save syneart/3e12ae2e66b77bd045c57ea84d065143 to your computer and use it in GitHub Desktop.
Save syneart/3e12ae2e66b77bd045c57ea84d065143 to your computer and use it in GitHub Desktop.
Debian 輸入與顯示正體中文字
#!/bin/bash
sudo sed -i '/^#.* zh_TW.* /s/^#//' /etc/locale.gen
sudo locale-gen
sudo update-locale LANG="zh_TW.UTF-8" LANGUAGE="zh_TW"
echo "Please re-login or restart your system!"
@syneart
Copy link
Author

syneart commented Mar 18, 2021

使用以下指令讓你的 Debian 系統可以顯示與輸入正體中文字,執行完後請登出或重新開機來生效
wget -O - https://gist.githubusercontent.com/syneart/3e12ae2e66b77bd045c57ea84d065143/raw/debian_locale_zh_tw.sh | bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment