all messages for Emacs-related lists mirrored at yhetil.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

* Re: 23.0.50; encoding EURO from greek-iso8859-7
  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
  0 siblings, 1 reply; 5+ messages in thread
From: Kenichi Handa @ 2007-11-22 12:53 UTC (permalink / raw)
  To: Reiner Steib; +Cc: emacs-devel

In article <v9lk8rjty5.fsf@marauder.physik.uni-ulm.de>, Reiner Steib <reinersteib+gmane@imap.cc> writes:

> 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
[...]

Thank you for the report.  I think it's a bug of
find_safe_codings in coding.c.  I'm now checking what is
wrong.

---
Kenichi Handa
handa@ni.aist.go.jp

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

* Re: 23.0.50; encoding EURO from greek-iso8859-7
  2007-11-22 12:53 ` Kenichi Handa
@ 2007-11-24  2:01   ` Kenichi Handa
  2007-11-24 11:32     ` Reiner Steib
  0 siblings, 1 reply; 5+ messages in thread
From: Kenichi Handa @ 2007-11-24  2:01 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: Reiner.Steib, emacs-devel

In article <E1IvBYi-0004j4-Ej@etlken.m17n.org>, Kenichi Handa <handa@ni.aist.go.jp> writes:

> In article <v9lk8rjty5.fsf@marauder.physik.uni-ulm.de>, Reiner Steib <reinersteib+gmane@imap.cc> writes:
> > 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
> [...]

> Thank you for the report.  I think it's a bug of
> find_safe_codings in coding.c.  I'm now checking what is
> wrong.

I found that this is because unicode mapping in
ucs-tables.el for iso-88590-7 was not up to date.  I've just
installed a fix.  Please try again.

---
Kenichi Handa
handa@ni.aist.go.jp

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

* Re: 23.0.50; encoding EURO from greek-iso8859-7
  2007-11-24  2:01   ` Kenichi Handa
@ 2007-11-24 11:32     ` Reiner Steib
  2007-11-24 13:10       ` Kenichi Handa
  0 siblings, 1 reply; 5+ messages in thread
From: Reiner Steib @ 2007-11-24 11:32 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: emacs-devel

On Sat, Nov 24 2007, Kenichi Handa wrote:

> I found that this is because unicode mapping in
> ucs-tables.el for iso-88590-7 was not up to date.  I've just
> installed a fix.  Please try again.

It is fixed, thanks.  I have (tested and) installed the patch in the
Emacs_22 branch as well.

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

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

* Re: 23.0.50; encoding EURO from greek-iso8859-7
  2007-11-24 11:32     ` Reiner Steib
@ 2007-11-24 13:10       ` Kenichi Handa
  0 siblings, 0 replies; 5+ messages in thread
From: Kenichi Handa @ 2007-11-24 13:10 UTC (permalink / raw)
  To: Reiner Steib; +Cc: emacs-devel

In article <v963zrg9qd.fsf@marauder.physik.uni-ulm.de>, Reiner Steib <reinersteib+gmane@imap.cc> writes:

> > I found that this is because unicode mapping in
> > ucs-tables.el for iso-88590-7 was not up to date.  I've just
> > installed a fix.  Please try again.

> It is fixed, thanks.  I have (tested and) installed the patch in the
> Emacs_22 branch as well.

Thank you.

---
Kenichi Handa
handa@ni.aist.go.jp

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