emacs-devel
[Top][All Lists]
Advanced

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

23.0.50; encoding EURO from greek-iso8859-7


From: Reiner Steib
Subject: 23.0.50; encoding EURO from greek-iso8859-7
Date: Wed, 21 Nov 2007 20:10:26 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]