Skip to content

Instantly share code, notes, and snippets.

@jeremyfix
Created December 21, 2020 13:36
Show Gist options
  • Save jeremyfix/0e66b368713112a6ad664359ed2ea7e7 to your computer and use it in GitHub Desktop.
Save jeremyfix/0e66b368713112a6ad664359ed2ea7e7 to your computer and use it in GitHub Desktop.
Accents issues
# Description of the issue :
After pushing a text file, which was UTF-8 encoded (as indicated by the file command) on github and pulling it back on another computer on which I was connected through ssh ,
I was unable to see the accents in the files (these appeared either as _ _ _ or <C5><A9>, etc..)
Then , I added to my bashrc
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
unlog and log again and the issue was solved.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment