Emacs: Set Default File Encoding
Put this in your Emacs Init File:
;; UTF-8 as default encoding (set-language-environment "UTF-8") (set-default-coding-systems 'utf-8) (set-keyboard-coding-system 'utf-8-unix) ;; do this especially on Windows, else python output problem (set-terminal-coding-system 'utf-8-unix)
Alt+x list-coding-systems
to see possible valid values.
Emacs and Unicode
- Unicode Tutorial
- describe-char, Find a Character Unicode Name, Codepoint, Encoding, Font Used
- Best Unicode Fonts for Programer
- Update Unicode Data
File Encoding
Emacs Init
Init Basics
Keys
Font
Text Editing
- Type Overwrite Selection
- Tab/Space/Indent Setup
- electric-pair-mode
- Isearch Whitespace Setup
- Move Cursor by camelCase
Completion
File
Restore Things
Backup/AutoSave
Line
- Show Line Numbers
- Show Cursor Column Position
- Highlight Current Line
- Setup Soft-Wrap Lines
- Hard-Wrap Lines
- Arrow Key Move by Logical Line
Appearance
- Highlight Brackets
- Set Color Theme
- Show Formfeed as Line
- Line Spacing
- Show lambda as λ
- Default Window Size
Misc
Advanced Init Tips
- What is Major Mode
- What is Minor Mode
- Show Variable Value, List Variables
- M-x customize
- Organize Init File
- Byte Compile Elisp
- What is Hook
- Avoid Lambda in Hook
- Environment Variables in Emacs
- Check OS, Version, Host Name