Last active
October 12, 2024 15:23
-
-
Save syneart/3e12ae2e66b77bd045c57ea84d065143 to your computer and use it in GitHub Desktop.
Debian 輸入與顯示正體中文字
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export LC_ALL="en_US.UTF-8" | |
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!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
使用以下指令讓你的 Debian 系統可以顯示與輸入正體中文字,執行完後請登出或重新開機來生效
wget -O - https://gist.githubusercontent.com/syneart/3e12ae2e66b77bd045c57ea84d065143/raw/debian_locale_zh_tw.sh | bash