Description of Problem: When Emacs is started in a locale that uses utf-8 encoding, it should default to default to using utf-8 encoding for its buffers. Version-Release number of selected component (if applicable): emacs-21.2-18 How Reproducible: every time Steps to Reproduce: 1. LANG=en_US.utf-8 emacs Actual Results: Default encoding of buffers and files is latin-1 (iso8859-1). Expected Results: Default encoding should be utf-8, following the locale. Additional Information: (prefer-coding-system 'utf-8) can be used to make utf-8 the default buffer/file encoding. Of course this needs to be conditionalized on a test that the locale is using a utf-8 encoding, particularly since Emacs can currently handle CJK utf-8 afaik.
teg already fixed this. :-)