unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* 23.0.50; encoding EURO from greek-iso8859-7
@ 2007-11-21 19:10 Reiner Steib
  2007-11-22 12:53 ` Kenichi Handa
  0 siblings, 1 reply; 5+ messages in thread
From: Reiner Steib @ 2007-11-21 19:10 UTC (permalink / raw)
  To: emacs-devel

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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-11-24 13:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-21 19:10 23.0.50; encoding EURO from greek-iso8859-7 Reiner Steib
2007-11-22 12:53 ` Kenichi Handa
2007-11-24  2:01   ` Kenichi Handa
2007-11-24 11:32     ` Reiner Steib
2007-11-24 13:10       ` Kenichi Handa

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).