unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System)
To: Eli Zaretskii <eliz@gnu.org>
Subject: bug#2354: marked as done (23.0.90; Emacs fails to detect utf-8  encoding with language environment Latin-1)
Date: Sat, 28 Feb 2009 12:30:04 +0000	[thread overview]
Message-ID: <handler.2354.D2354.123582368011278.ackdone@emacsbugs.donarmstrong.com> (raw)
In-Reply-To: 87y6w5jqqo.fsf@engster.org

[-- Attachment #1: Type: text/plain, Size: 907 bytes --]


Your message dated Sat, 28 Feb 2009 14:21:08 +0200
with message-id <uzlg6oiq3.fsf@gnu.org>
and subject line Re: bug#2497: 23.0.91; Fails to read UTF-8 on Win2k
has caused the Emacs bug report #2354,
regarding 23.0.90; Emacs fails to detect utf-8 encoding with language environment Latin-1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
2354: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2354
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 4181 bytes --]

From: David Engster <deng@randomsample.de>
To: bug-gnu-emacs@gnu.org
Subject: 23.0.90; Emacs fails to detect utf-8 encoding with language environment Latin-1
Date: Tue, 17 Feb 2009 11:35:11 +0100
Message-ID: <87y6w5jqqo.fsf@engster.org>

This is what I believe to be a regression in CVS Emacs since the
23.0.90 pretest. I'm using a fresh CVS checkout from 2009-02-17,
compiled with 'make bootstrap'.

You can reproduce it as follows:

1. emacs -Q
2. M-x set-language-environment RET Latin-1 RET
3. In some buffer write:

 (ucs-insert "2500")

4. Eval it, so that the unicode character is inserted into the buffer.
5. Save the file and choose utf-8 as encoding.
6. Kill the buffer.
7. Load the file you just saved.

Result: Emacs displays "â\224\200" for the unicode character.

Expected behaviour: Emacs should detect utf-8 encoding and display
correct character.

Please note that this has worked without problems with the Emacs
23.0.90 pretest, so it must be due to some change(s) since then in CVS.

In GNU Emacs 23.0.90.1 (i686-pc-linux-gnu, GTK+ Version 2.12.11)
 of 2009-02-17 on void
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure  '--prefix=/usr/local/emacs''

Important settings:
  value of $LC_ALL: nil
  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: nil
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x r e p o <tab> r <tab> C-g M-x s e t - l a n <tab> 
<return> L a t i n w <backspace> - w <return> <backspace> 
1 <return> M-x r e p o <tab> r <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...
Quit
Making completion list...




[-- Attachment #3: Type: message/rfc822, Size: 2452 bytes --]

From: Eli Zaretskii <eliz@gnu.org>
To: 2497-done@emacsbugs.donarmstrong.com, 2354-done@emacsbugs.donarmstrong.com
Subject: Re: bug#2497: 23.0.91; Fails to read UTF-8 on Win2k
Date: Sat, 28 Feb 2009 14:21:08 +0200
Message-ID: <uzlg6oiq3.fsf@gnu.org>

> From: David Engster <deng@randomsample.de>
> Date: Fri, 27 Feb 2009 18:46:12 +0100
> Cc: emacs-pretest-bug@gnu.org, 2497@emacsbugs.donarmstrong.com
> 
> Uwe Siart <uwe.siart@tum.de> writes:
> > I'm using the windows port of 23.0.91 on Win2k SP4 and I found that it
> > fails to read utf-8 encoded files correctly. When visiting a file in
> > utf-8 encoding all characters above 255 are screwed up and "C-h C RET"
> > indicates iso-latin1-dos for saving the file. This has not been an
> > issue in 23.0.90.
> 
> Maybe this is a duplicate of what I reported in
> 
> http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2354
> 
> As I write later in that bug report, I think I could track down this
> issue to the change in revision 1.413 of src/coding.c. Maybe you could
> try if the same applies to your problem.

Should be fixed by this change:

2009-02-28  Eli Zaretskii  <eliz@gnu.org>

	* coding.c (detect_coding_charset): Fix change from 2008-10-21.
	Also, check iso-latin-*, not only iso-8859-*.



  parent reply	other threads:[~2009-02-28 12:30 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <uzlg6oiq3.fsf@gnu.org>
2009-02-17 10:35 ` bug#2354: 23.0.90; Emacs fails to detect utf-8 encoding with language environment Latin-1 David Engster
2009-02-17 16:45   ` Juanma Barranquero
2009-02-17 18:04     ` David Engster
2009-02-28 12:30   ` Emacs bug Tracking System [this message]
2009-02-27 14:10 ` bug#2497: 23.0.91; Fails to read UTF-8 on Win2k Uwe Siart
2009-02-27 16:03   ` Eli Zaretskii
2009-02-27 16:48     ` Uwe Siart
2009-02-27 18:19       ` Eli Zaretskii
2009-02-27 20:35         ` Uwe Siart
2009-02-28  4:40         ` Stefan Monnier
2009-02-28  8:17           ` Uwe Siart
2009-02-28 10:14             ` David Engster
2009-02-28 12:09               ` Eli Zaretskii
2009-02-28 14:16                 ` Jason Rumney
2009-02-28 14:31                 ` David Engster
2009-02-28 22:00             ` Stefan Monnier
2009-02-28 10:49           ` Eli Zaretskii
2009-02-28 12:16             ` Uwe Siart
2009-02-28 22:04             ` Stefan Monnier
2009-03-02 11:43             ` Kenichi Handa
2009-03-02 15:25               ` Stefan Monnier
2009-03-02 19:25                 ` Eli Zaretskii
2009-03-03 16:34                   ` Stefan Monnier
2009-02-27 16:11   ` Juanma Barranquero
2009-02-27 16:16     ` Juanma Barranquero
2009-02-27 16:27       ` Uwe Siart
2009-02-27 16:32         ` Juanma Barranquero
2009-02-27 16:23     ` Uwe Siart
2009-02-27 16:38       ` Juanma Barranquero
2009-02-27 18:19         ` Eli Zaretskii
2009-02-27 20:38           ` Juanma Barranquero
2009-02-28  1:29           ` Jason Rumney
2009-02-27 17:02     ` Leo
2009-02-27 17:46   ` David Engster
2009-02-27 21:15     ` Uwe Siart
2009-02-28  1:32     ` Jason Rumney
2009-02-28  1:35       ` Processed (with 5 errors): " Emacs bug Tracking System
2009-02-27 23:34   ` bug#2497: 23.0.91; Fails to read UTF-8 on Windows2k Richard M Stallman
2009-02-28  9:47     ` Uwe Siart
2009-02-28 18:08       ` Richard M Stallman
2009-02-28 12:30   ` bug#2497: marked as done (23.0.91; Fails to read UTF-8 on Win2k) Emacs bug Tracking System

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=handler.2354.D2354.123582368011278.ackdone@emacsbugs.donarmstrong.com \
    --to=owner@emacsbugs.donarmstrong.com \
    --cc=eliz@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).