unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: emacs-devel@gnu.org
Subject: 23.0.50; encoding EURO from greek-iso8859-7
Date: Wed, 21 Nov 2007 20:10:26 +0100	[thread overview]
Message-ID: <v9lk8rjty5.fsf@marauder.physik.uni-ulm.de> (raw)

M-x report-emacs-bug RET wrote:
> Please describe exactly what actions triggered the bug
> and the precise symptoms of the bug:

Prepare this file:

$ cat /tmp/E-7.el
(insert (make-char 'greek-iso8859-7 164))

Start Emacs in UTF-8 locale:

LC_ALL=en_US.UTF-8 emacs -Q /tmp/E-7.el 

In Emacs: `M->', `C-x C-e', `C-x C-s'.  I get:

,----
| These default coding systems were tried to encode text
| in the buffer `E-7.el':
|   undecided-unix mule-utf-8-unix
| However, each of them encountered characters it couldn't encode:
|   undecided-unix cannot encode these: €
|   mule-utf-8-unix cannot encode these: €
| 
| Click on a character (or switch to this window by `C-x o'
| and select the characters by RET) to jump to the place it appears,
| where `C-u C-x =' will give information about it.
| 
| Select one of the safe coding systems listed below,
| or cancel the writing with C-g and edit the buffer
|    to remove or modify the problematic characters,
| or specify any other coding system (and risk losing
|    the problematic characters).
|
|  iso-8859-7 iso-2022-7bit
`----

Expected behavior: Save the file in utf-8.

The same happens with the Emacs_22 branch.  I suppose it would work in
unicode-2, so its not too important for the trunk.  Is their a way to
make it work on Emacs 22 as well?

> In GNU Emacs 23.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.10.6)
>  of 2007-11-21 on viandante
> Windowing system distributor `The X.Org Foundation', version 11.0.70199902
> configured using `configure  '--prefix=/import/xtra/emacs/HEAD' '--with-gtk' '--exec-prefix=/import/xtra/emacs/HEAD-i686' 'CFLAGS=-Wno-pointer-sign -O0 -fno-crossjumping -gdwarf-2 -g3''

> Important settings:
>   value of $LC_ALL: en_US.UTF-8
>   value of $LC_COLLATE: nil
>   value of $LC_CTYPE: nil
>   value of $LC_MESSAGES: nil
>   value of $LC_MONETARY: nil
>   value of $LC_NUMERIC: nil
>   value of $LC_TIME: nil
>   value of $LANG: en_US.UTF-8
>   locale-coding-system: utf-8
>   default-enable-multibyte-characters: t

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

             reply	other threads:[~2007-11-21 19:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-21 19:10 Reiner Steib [this message]
2007-11-22 12:53 ` 23.0.50; encoding EURO from greek-iso8859-7 Kenichi Handa
2007-11-24  2:01   ` Kenichi Handa
2007-11-24 11:32     ` Reiner Steib
2007-11-24 13:10       ` Kenichi Handa

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=v9lk8rjty5.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=emacs-devel@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).