Skip to content

Instantly share code, notes, and snippets.

@Hasimir
Created January 8, 2015 15:21
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 Hasimir/a1326110ad4f0ddeb0af to your computer and use it in GitHub Desktop.
Save Hasimir/a1326110ad4f0ddeb0af to your computer and use it in GitHub Desktop.
My UTF-8 settings in .emacs
;; UTF-8 settings
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(prefer-coding-system 'utf-8)
;; This was added by Custom at some point too:
'(current-language-environment "UTF-8")
;; Plus I have F7 bound to insert-char to enter the hex for a glyph:
(global-set-key [f7] 'insert-char)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment