emacs encoding vs FC2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(I've spent a while googling this, and searched the list archives,
because I was sure it would have happened to someone already.
I get the feeling the answer is some incredibly obvious setting.
My reasoning for posting to fedora-list rather than the Emacs
mailing list is that the following seem like integration issues,
but ICBW.)

$ echo $LANG
en_GB.UTF-8

I'm having two (connected?) problems with unicode characters and
(GNU) Emacs.  The first is loading emacs to visit a file:

$emacs Kölsch&

In gnome-terminal (or xterm) will visit the file 'KÃlsch',
regardless of whether 'Kölsch' exists, or whether I'm on an ext3 fs
or my -o utf8 mounted vfat fs.  Once running emacs I have no
difficulty opening/creating the file from C-x C-f, and it shows up
correctly in emacs directory listing.  'Ã' could result from
interpreting utf-8 encoded 'ö' as ISO-8859-1, I've also checked
with one other character (ü I think) that the incorrect name is a
latin-1 interpretation.  I've tried to find some emacs setting for
the encoding of command line arguments but haven't spotted it yet.

The second problem is pasting from other applications, notably the
gucharmap.  Here most Latin characters seem to work alright,
but accented Greek characters like alpha-tonos (U+03AC) do not.
In Emacs I end up with an escaped sequence which displays as
'^[%GÎ^[%@', but works properly if re-pasted into Ximian or
OpenOffice.  I've tried various settings X selection coding systems
in Emacs (C-x RET x), including utf-8 and utf-16 be and le.  Again,
using the Greek keyboard layout via Gnome keyboard preferences, it's
possible to enter this character into Emacs.  M-x ucs-insert also
works for any character I've tried.

This is using GNU Emacs, GNOME, FC2 and the United Kingdom and Greek
keyboard layouts.  libgnome is 2.6.0-3.  Any thoughts?  Would the
above work on XEmacs, and would I have to get rid of GNU Emacs to
install it?  (Add/remove applications isn't allowing me to select
XEmacs or de-select Emacs, and before I go to the command line I
wonder whether there's a rational explanation)

-- 
imalone



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux