all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Konstantinos Efstathiou <cefstat@purple.univ-littoral.fr>
Subject: Problem with UTF-8
Date: Mon, 1 Dec 2003 19:14:11 +0100	[thread overview]
Message-ID: <29BC70EE-242A-11D8-A97D-0003939570E8@purple.univ-littoral.fr> (raw)

It seems that emacs can not display properly a text file with UTF-8 
encoding. Specifically, I do the following:

(1) Create a new buffer with UTF-8 encoding: C-x C-f test.txt
(2) Change the input method to greek: C-u C-\ greek
(3) Write some characters. Everything appears perfectly.
(4) Toggle the input method: C-\
(5) Save the file: C-x C-s
(6) Open the file: C-x C-f test.txt
Now all the greek characters appear as squares.

I am using GNU Emacs 21.3.50.1 (powerpc-apple-darwin7.0.0) under Mac OS 
X 10.3. When I open the file with TextEdit using the UTF-8 encoding and 
everything looks fine in there.

In my .emacs I have

(set-language-environment 'greek)
(set-default-coding-systems 'utf-8)
(prefer-coding-system 'utf-8)

Note also that if I set the proper variables for using iso-8859-7 
everything works great.

             reply	other threads:[~2003-12-01 18:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-01 18:14 Konstantinos Efstathiou [this message]
     [not found] <mailman.849.1070325841.399.help-gnu-emacs@gnu.org>
2003-12-02  9:20 ` Problem with UTF-8 Oliver Scholz
2003-12-02 15:49   ` Johan Bockgård
2003-12-02 17:15     ` Jeffery B. Rancier
2003-12-02 19:48       ` Eli Zaretskii
     [not found]     ` <mailman.923.1070389157.399.help-gnu-emacs@gnu.org>
2003-12-02 20:01       ` Oliver Scholz
  -- strict thread matches above, loose matches on Subject: below --
2003-12-03 12:24 Konstantinos Efstathiou
     [not found] <mailman.974.1070458104.399.help-gnu-emacs@gnu.org>
2003-12-03 13:33 ` Oliver Scholz
2003-12-04 10:14 Konstantinos Efstathiou
     [not found] <mailman.1028.1070539813.399.help-gnu-emacs@gnu.org>
2003-12-05  6:12 ` Oliver Scholz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=29BC70EE-242A-11D8-A97D-0003939570E8@purple.univ-littoral.fr \
    --to=cefstat@purple.univ-littoral.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.