Skip to content

Instantly share code, notes, and snippets.

@chengchingwen
Last active February 20, 2017 08:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chengchingwen/c2186cefc99f8afbfc41970a82a67eb4 to your computer and use it in GitHub Desktop.
Save chengchingwen/c2186cefc99f8afbfc41970a82a67eb4 to your computer and use it in GitHub Desktop.

中文輸入

tcsh

modify /etc/csh.cshrc add following

setenv LC_CTYPE en_US.ISO8859-1                                                                                              
setenv LC_ALL zh_TW.UTF-8                                                                                                    
setenv LANG zh_TW.UTF-8                                                                                                      

bash

modify /etc/profile add following

export LC_CTYPE=en_US.ISO8859-1                                                                                                
export LC_ALL=zh_TW.UTF-8                                                                                                      
export LANG=zh_TW.UTF-8                                                                                                        
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment