LWN.net Logo

Advertisement

E-Commerce & credit card processing - the Open Source way!

Advertise here

Emacs 22.1 released

Emacs 22.1 released

Posted Jun 4, 2007 17:33 UTC (Mon) by ajross (subscriber, #4563)
In reply to: Emacs 22.1 released by andre68
Parent article: Emacs 22.1 released

To be clear: my understanding is that 22.x *does* support UTF8 locales and encodings. The unicode branch denotes, I think, an internals rework to represent everything as utf8, and therefore simply things.

I'm not an emacs hacker, though, so hopefully others can fill in whatever I missed or got wrong. As I said, I just use it for the pretty fonts. :)


(Log in to post comments)

Emacs 22.1 released

Posted Jun 4, 2007 18:00 UTC (Mon) by andre68 (guest, #45585) [Link]

Well, my opinion of utf8-compliant is, that is shows the utf8 characters in the right manner when editing an utf8 document. I just tried emacs-22.1.1 and this is not the case. I need utf8 mainly for editing german umlauts and the euro sign. If I'm wrong, and there is a setting for doing this, I would really be happy. The UNIX file command says "UTF-8 Unicode text" for my files, so it should work if emacs supports utf8 correctly, shouldn't it?

Emacs 22.1 released

Posted Jun 4, 2007 18:24 UTC (Mon) by asamardzic (subscriber, #27161) [Link]

There are several settings involved here:
- first, you need to select UTF-8 font for Emacs
- then, you need to select UTF-8 as Emacs language environment ("C-x RET l", then "UTF-8")
- then you could load your UTF-8 text file, and you should be able to see UTF-8 glyphs properly
- finally, if you'd like to edit the file, you need to select "input method" ("C-x RET C-\", and then type in your preferred input method)

Of course, all of above could be automated (for example, I'm doing first thing trough my ~/.Xdefaults file, regarding second thing I have (set-language-environment "UTF-8") in my ~/.emacs file, etc.).

German should be fine

Posted Jun 5, 2007 11:34 UTC (Tue) by coriordan (guest, #7544) [Link]

I don't have problems using Emacs 22 for documents with euro symbols or with acute accents over letters. When I open files, the funny characters display fine, and after I edit the files, the accents are still fine. So it is probably something wrong with your distro or Emacs installation.

If you do M-x view-hello-file, you will see what character sets are working. For me, Amharic, Georgian, Hindi, Tamil, and two or three other writing systems don't display correctly, but Arabic, Japanese, Chinese, Thai, Russian, Greek, Hebrew, French, and German ("Grüß Gott") all display fine.

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds