[MPlayer-DOCS] [homepage]: r2879 - trunk/src/donations.src.en
Rich Felker
dalias at aerifal.cx
Sat Apr 28 15:13:02 CEST 2007
On Fri, Apr 20, 2007 at 12:58:47PM +0200, Diego Biurrun wrote:
> > Mmmm.... I was using Xemacs on a full-UTF-8 distro (to the best of my
> > knowledge, at least), and copy/pasted the names from paypal pages on
> > firefox.
> > I thought XEmacs supported UTF-8 and auto-detected the charset
> > automatically. I looks like it doesn't do the auto-detection. I wonder
> > how I can force it to open the file as an UTF-8 file..... I also
> > wonder what happens when I copy/paste between applications that may or
> > may not support UTF-8....
>
> GNU Emacs has proper UTF-8 support starting from version 22 (and
> prereleases). I'm thinking that XEmacs is behind, is it maintained at
> all these days?
Both support UTF-8 to varying degrees (GNU basically totally; X very
poorly to the degree that it corrupts files upon load-save cycle even
with no editing between if they contain characters not present in the
nasty internal "MULE" charset). However, neither correctly chooses the
default encoding based on your locale. I have the following lines in
my .emacs:
(prefer-coding-system 'utf-8)
(setq locale-coding-system 'utf-8)
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(set-selection-coding-system 'utf-8)
(setq file-name-coding-system 'utf-8)
You can also use these if you want to override all automatic detection
of encoding and treat all files as UTF-8:
(setq coding-system-for-read 'utf-8)
(setq coding-system-for-write 'utf-8)
> Check out GNU emacs, I'm quite happy with it, I found it to be
> considerably faster than XEmacs, especially on startup.
My experience is quite the opposite; I wish XEmacs worked so I could
use it.. But I'm using -nw, not gui, so that may be the difference.
Rich
More information about the MPlayer-DOCS
mailing list