unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14805: 24.3.50; german umlauts error in sgml/html buffer
@ 2013-07-06 12:02 Andreas Röhler
  2013-07-06 12:25 ` Andreas Röhler
  2013-07-06 12:29 ` Andreas Röhler
  0 siblings, 2 replies; 8+ messages in thread
From: Andreas Röhler @ 2013-07-06 12:02 UTC (permalink / raw)
  To: 14805

Emacs -Q

Opened a buffer with ending ".htm". German umlauts are mangled.

  Börse, which should read Börse


coding-system-for-write nil
and
coding-system-for-read nil

In GNU Emacs 24.3.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10)
  of 2013-06-12

Windowing system distributor `The X.Org Foundation', version 11.0.11203000
System Description:	openSUSE 12.2 (i586)

Configured using:
  `configure CFLAGS='-g -O''

Important settings:
   value of $LANG: de_DE.UTF-8
   value of $XMODIFIERS: @im=local
   locale-coding-system: utf-8-unix
   default enable-multibyte-characters: t

Major mode: Help

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

Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar>
<options> <menu-set-font> <help-echo> C-x d i m <tab>
<return> <return> C-s r s e C-s <help-echo> <help-echo>
<help-echo> <help-echo> <down-mouse-1> <drag-mouse-1>
<help-echo> <help-echo> <down-mouse-1> <mouse-movement>
<mouse-movement> <drag-mouse-1> C-x 2 C-h f b u f f
<backspace> <backspace> <backspace> <backspace> c o
d i n g - s y s t <tab> f o <tab> <M-backspace> <M-backspace>
<M-backspace> C-a C-k C-g C-h v C-y f o <tab> r e <tab>
<return> C-x o C-x 2 C-h v <up> C-e <M-backspace> w
r i <tab> <return> <help-echo> <help-echo> <down-mouse-1>
<help-echo> <mouse-movement> <drag-mouse-1> <help-echo>
<down-mouse-1> <help-echo> <mouse-movement> <mouse-movement>
<help-echo> <drag-mouse-1> <help-echo> M-x r e p o
r t _ <backspace> - <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Mark saved where search started
Quit
Type "q" in help window to restore its previous buffer, C-M-v to scroll help.


Load-path shadows:
None found.

Features:
(shadow sort nadvice gnus-util mail-extr emacsbug message format-spec
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils help-mode easymenu help-fns misearch
multi-isearch sgml-mode dired time-date tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment lisp-mode register page menu-bar
rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax
facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak
czech european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
make-network-process inotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)





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

* bug#14805: 24.3.50; german umlauts error in sgml/html buffer
  2013-07-06 12:02 bug#14805: 24.3.50; german umlauts error in sgml/html buffer Andreas Röhler
@ 2013-07-06 12:25 ` Andreas Röhler
  2013-07-06 12:50   ` Eli Zaretskii
  2013-07-06 12:29 ` Andreas Röhler
  1 sibling, 1 reply; 8+ messages in thread
From: Andreas Röhler @ 2013-07-06 12:25 UTC (permalink / raw)
  To: 14805

Am 06.07.2013 14:02, schrieb Andreas Röhler:
> Emacs -Q
>
> Opened a buffer with ending ".htm". German umlauts are mangled.
>
>   Börse, which should read Börse
>
>
> coding-system-for-write nil
> and
> coding-system-for-read nil
>
> In GNU Emacs 24.3.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10)
>   of 2013-06-12
>
> Windowing system distributor `The X.Org Foundation', version 11.0.11203000
> System Description:    openSUSE 12.2 (i586)
>
> Configured using:
>   `configure CFLAGS='-g -O''
>
> Important settings:
>    value of $LANG: de_DE.UTF-8
>    value of $XMODIFIERS: @im=local
>    locale-coding-system: utf-8-unix
>    default enable-multibyte-characters: t
>
> Major mode: Help
>
> Minor modes in effect:
>    tooltip-mode: t
>    mouse-wheel-mode: t
>    tool-bar-mode: t
>    menu-bar-mode: t
>    file-name-shadow-mode: t
>    global-font-lock-mode: t
>    font-lock-mode: t
>    blink-cursor-mode: t
>    auto-composition-mode: t
>    auto-encryption-mode: t
>    auto-compression-mode: t
>    buffer-read-only: t
>    line-number-mode: t
>    transient-mark-mode: t
>
> Recent input:
> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
> <help-echo> <help-echo> <help-echo> <help-echo> <menu-bar>
> <options> <menu-set-font> <help-echo> C-x d i m <tab>
> <return> <return> C-s r s e C-s <help-echo> <help-echo>
> <help-echo> <help-echo> <down-mouse-1> <drag-mouse-1>
> <help-echo> <help-echo> <down-mouse-1> <mouse-movement>
> <mouse-movement> <drag-mouse-1> C-x 2 C-h f b u f f
> <backspace> <backspace> <backspace> <backspace> c o
> d i n g - s y s t <tab> f o <tab> <M-backspace> <M-backspace>
> <M-backspace> C-a C-k C-g C-h v C-y f o <tab> r e <tab>
> <return> C-x o C-x 2 C-h v <up> C-e <M-backspace> w
> r i <tab> <return> <help-echo> <help-echo> <down-mouse-1>
> <help-echo> <mouse-movement> <drag-mouse-1> <help-echo>
> <down-mouse-1> <help-echo> <mouse-movement> <mouse-movement>
> <help-echo> <drag-mouse-1> <help-echo> M-x r e p o
> r t _ <backspace> - <tab> <return>
>
> Recent messages:
> For information about GNU Emacs and the GNU system, type C-h C-a.
> Mark saved where search started
> Quit
> Type "q" in help window to restore its previous buffer, C-M-v to scroll help.
>
>
> Load-path shadows:
> None found.
>
> Features:
> (shadow sort nadvice gnus-util mail-extr emacsbug message format-spec
> rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
> mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
> mm-util mail-prsvr mail-utils help-mode easymenu help-fns misearch
> multi-isearch sgml-mode dired time-date tooltip ediff-hook vc-hooks
> lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt
> fringe tabulated-list newcomment lisp-mode register page menu-bar
> rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax
> facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese
> tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak
> czech european ethiopic indian cyrillic chinese case-table epa-hook
> jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces
> cus-face macroexp files text-properties overlay sha1 md5 base64 format
> env code-pages mule custom widget hashtable-print-readable backquote
> make-network-process inotify dynamic-setting system-font-setting
> font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)
>
>
>
>

File contains

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />







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

* bug#14805: 24.3.50; german umlauts error in sgml/html buffer
  2013-07-06 12:02 bug#14805: 24.3.50; german umlauts error in sgml/html buffer Andreas Röhler
  2013-07-06 12:25 ` Andreas Röhler
@ 2013-07-06 12:29 ` Andreas Röhler
  1 sibling, 0 replies; 8+ messages in thread
From: Andreas Röhler @ 2013-07-06 12:29 UTC (permalink / raw)
  To: 14805

Am 06.07.2013 14:02, schrieb Andreas Röhler:
> Emacs -Q
>
> Opened a buffer with ending ".htm". German umlauts are mangled.
>
>   Börse, which should read Börse
>
>
> coding-system-for-write nil
> and
> coding-system-for-read nil
>
> In GNU Emacs 24.3.50.1 (i686-pc-linux-gnu, GTK+ Version 2.24.10)
>   of 2013-06-12
>
> Windowing system distributor `The X.Org Foundation', version 11.0.11203000
> System Description:    openSUSE 12.2 (i586)
>
> Configured using:
>   `configure CFLAGS='-g -O''
>
> Important settings:
>    value of $LANG: de_DE.UTF-8
>    value of $XMODIFIERS: @im=local
>    locale-coding-system: utf-8-unix
>    default enable-multibyte-characters: t
>
> Major mode: Help
>
> Minor modes in effect:
>    tooltip-mode: t
>    mouse-wheel-mode: t
>    tool-bar-mode: t
>    menu-bar-mode: t
>    file-name-shadow-mode: t
>    global-font-lock-mode: t
>    font-lock-mode: t
>    blink-cursor-mode: t
>    auto-composition-mode: t
>    auto-encryption-mode: t
>    auto-compression-mode: t
>    buffer-read-only: t
>    line-number-mode: t
>    transient-mark-mode: t
>
> Recent input:
> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
> <help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
> <help-echo> <help-echo> <help-echo> <help-echo> <menu-bar>
> <options> <menu-set-font> <help-echo> C-x d i m <tab>
> <return> <return> C-s r s e C-s <help-echo> <help-echo>
> <help-echo> <help-echo> <down-mouse-1> <drag-mouse-1>
> <help-echo> <help-echo> <down-mouse-1> <mouse-movement>
> <mouse-movement> <drag-mouse-1> C-x 2 C-h f b u f f
> <backspace> <backspace> <backspace> <backspace> c o
> d i n g - s y s t <tab> f o <tab> <M-backspace> <M-backspace>
> <M-backspace> C-a C-k C-g C-h v C-y f o <tab> r e <tab>
> <return> C-x o C-x 2 C-h v <up> C-e <M-backspace> w
> r i <tab> <return> <help-echo> <help-echo> <down-mouse-1>
> <help-echo> <mouse-movement> <drag-mouse-1> <help-echo>
> <down-mouse-1> <help-echo> <mouse-movement> <mouse-movement>
> <help-echo> <drag-mouse-1> <help-echo> M-x r e p o
> r t _ <backspace> - <tab> <return>
>
> Recent messages:
> For information about GNU Emacs and the GNU system, type C-h C-a.
> Mark saved where search started
> Quit
> Type "q" in help window to restore its previous buffer, C-M-v to scroll help.
>
>
> Load-path shadows:
> None found.
>
> Features:
> (shadow sort nadvice gnus-util mail-extr emacsbug message format-spec
> rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
> mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
> mm-util mail-prsvr mail-utils help-mode easymenu help-fns misearch
> multi-isearch sgml-mode dired time-date tooltip ediff-hook vc-hooks
> lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt
> fringe tabulated-list newcomment lisp-mode register page menu-bar
> rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax
> facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese
> tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak
> czech european ethiopic indian cyrillic chinese case-table epa-hook
> jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces
> cus-face macroexp files text-properties overlay sha1 md5 base64 format
> env code-pages mule custom widget hashtable-print-readable backquote
> make-network-process inotify dynamic-setting system-font-setting
> font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)
>
>
>
>

Here the message still when trying to save from buffer text was pasted in:

These default coding systems were tried to encode text
in the buffer `ein-2.html':
   (iso-latin-1-unix (62516 . 8211) (62535 . 8364))
However, each of them encountered characters it couldn't encode:
   iso-latin-1-unix cannot encode these: – €






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

* bug#14805: 24.3.50; german umlauts error in sgml/html buffer
  2013-07-06 12:25 ` Andreas Röhler
@ 2013-07-06 12:50   ` Eli Zaretskii
  2013-07-06 18:58     ` Andreas Röhler
  0 siblings, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2013-07-06 12:50 UTC (permalink / raw)
  To: Andreas Röhler; +Cc: 14805

> Date: Sat, 06 Jul 2013 14:25:28 +0200
> From: Andreas Röhler <andreas.roehler@easy-emacs.de>
> 
> Am 06.07.2013 14:02, schrieb Andreas Röhler:
> > Emacs -Q
> >
> > Opened a buffer with ending ".htm". German umlauts are mangled.
> >
> >   Börse, which should read Börse
> >
> 
> File contains
> 
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

So the file says it's in latin-1, but the actual contents are in
UTF-8, is that right?

Anyway, can you try with the latest trunk?  June 12 is almost a month
ago.





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

* bug#14805: 24.3.50; german umlauts error in sgml/html buffer
  2013-07-06 12:50   ` Eli Zaretskii
@ 2013-07-06 18:58     ` Andreas Röhler
  2013-07-06 19:12       ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Andreas Röhler @ 2013-07-06 18:58 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 14805

Am 06.07.2013 14:50, schrieb Eli Zaretskii:
>> Date: Sat, 06 Jul 2013 14:25:28 +0200
>> From: Andreas Röhler <andreas.roehler@easy-emacs.de>
>>
>> Am 06.07.2013 14:02, schrieb Andreas Röhler:
>>> Emacs -Q
>>>
>>> Opened a buffer with ending ".htm". German umlauts are mangled.
>>>
>>>    Börse, which should read Börse
>>>
>>
>> File contains
>>
>> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
>
> So the file says it's in latin-1, but the actual contents are in
> UTF-8, is that right?
>
> Anyway, can you try with the latest trunk?  June 12 is almost a month
> ago.
>

Same with Emacs built from trunk today.







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

* bug#14805: 24.3.50; german umlauts error in sgml/html buffer
  2013-07-06 18:58     ` Andreas Röhler
@ 2013-07-06 19:12       ` Eli Zaretskii
  2013-07-06 19:15         ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2013-07-06 19:12 UTC (permalink / raw)
  To: Andreas Röhler; +Cc: 14805

> Date: Sat, 06 Jul 2013 20:58:53 +0200
> From: Andreas Röhler <andreas.roehler@easy-emacs.de>
> CC: 14805@debbugs.gnu.org
> 
> Am 06.07.2013 14:50, schrieb Eli Zaretskii:
> >> Date: Sat, 06 Jul 2013 14:25:28 +0200
> >> From: Andreas Röhler <andreas.roehler@easy-emacs.de>
> >>
> >> Am 06.07.2013 14:02, schrieb Andreas Röhler:
> >>> Emacs -Q
> >>>
> >>> Opened a buffer with ending ".htm". German umlauts are mangled.
> >>>
> >>>    Börse, which should read Börse
> >>>
> >>
> >> File contains
> >>
> >> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
> >
> > So the file says it's in latin-1, but the actual contents are in
> > UTF-8, is that right?
> >
> > Anyway, can you try with the latest trunk?  June 12 is almost a month
> > ago.
> >
> 
> Same with Emacs built from trunk today.

Then please post the minimal file that exhibits the problem.

Thanks.





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

* bug#14805: 24.3.50; german umlauts error in sgml/html buffer
  2013-07-06 19:12       ` Eli Zaretskii
@ 2013-07-06 19:15         ` Eli Zaretskii
  2013-07-06 19:28           ` Andreas Röhler
  0 siblings, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2013-07-06 19:15 UTC (permalink / raw)
  To: andreas.roehler; +Cc: 14805

> Date: Sat, 06 Jul 2013 22:12:44 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 14805@debbugs.gnu.org
> 
> > Date: Sat, 06 Jul 2013 20:58:53 +0200
> > From: Andreas Röhler <andreas.roehler@easy-emacs.de>
> > CC: 14805@debbugs.gnu.org
> > 
> > Am 06.07.2013 14:50, schrieb Eli Zaretskii:
> > >> Date: Sat, 06 Jul 2013 14:25:28 +0200
> > >> From: Andreas Röhler <andreas.roehler@easy-emacs.de>
> > >>
> > >> Am 06.07.2013 14:02, schrieb Andreas Röhler:
> > >>> Emacs -Q
> > >>>
> > >>> Opened a buffer with ending ".htm". German umlauts are mangled.
> > >>>
> > >>>    Börse, which should read Börse
> > >>>
> > >>
> > >> File contains
> > >>
> > >> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
> > >
> > > So the file says it's in latin-1, but the actual contents are in
> > > UTF-8, is that right?
> > >
> > > Anyway, can you try with the latest trunk?  June 12 is almost a month
> > > ago.
> > >
> > 
> > Same with Emacs built from trunk today.
> 
> Then please post the minimal file that exhibits the problem.

Actually, never mind, I see this myself.

So what would you expect Emacs to do with a file that claims to be in
Latin-1, but isn't?





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

* bug#14805: 24.3.50; german umlauts error in sgml/html buffer
  2013-07-06 19:15         ` Eli Zaretskii
@ 2013-07-06 19:28           ` Andreas Röhler
  0 siblings, 0 replies; 8+ messages in thread
From: Andreas Röhler @ 2013-07-06 19:28 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 14805

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

Am 06.07.2013 21:15, schrieb Eli Zaretskii:
>> Date: Sat, 06 Jul 2013 22:12:44 +0300
>> From: Eli Zaretskii <eliz@gnu.org>
>> Cc: 14805@debbugs.gnu.org
>>
>>> Date: Sat, 06 Jul 2013 20:58:53 +0200
>>> From: Andreas Röhler <andreas.roehler@easy-emacs.de>
>>> CC: 14805@debbugs.gnu.org
>>>
>>> Am 06.07.2013 14:50, schrieb Eli Zaretskii:
>>>>> Date: Sat, 06 Jul 2013 14:25:28 +0200
>>>>> From: Andreas Röhler <andreas.roehler@easy-emacs.de>
>>>>>
>>>>> Am 06.07.2013 14:02, schrieb Andreas Röhler:
>>>>>> Emacs -Q
>>>>>>
>>>>>> Opened a buffer with ending ".htm". German umlauts are mangled.
>>>>>>
>>>>>>     Börse, which should read Börse
>>>>>>
>>>>>
>>>>> File contains
>>>>>
>>>>> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
>>>>
>>>> So the file says it's in latin-1, but the actual contents are in
>>>> UTF-8, is that right?
>>>>
>>>> Anyway, can you try with the latest trunk?  June 12 is almost a month
>>>> ago.
>>>>
>>>
>>> Same with Emacs built from trunk today.
>>
>> Then please post the minimal file that exhibits the problem.
>
> Actually, never mind, I see this myself.
>
> So what would you expect Emacs to do with a file that claims to be in
> Latin-1, but isn't?
>

Hmm, seems not a bug on Emacs side.
A part of the file attached anyway.

[-- Attachment #2: ein.htm --]
[-- Type: text/html, Size: 154 bytes --]

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

end of thread, other threads:[~2013-07-06 19:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-06 12:02 bug#14805: 24.3.50; german umlauts error in sgml/html buffer Andreas Röhler
2013-07-06 12:25 ` Andreas Röhler
2013-07-06 12:50   ` Eli Zaretskii
2013-07-06 18:58     ` Andreas Röhler
2013-07-06 19:12       ` Eli Zaretskii
2013-07-06 19:15         ` Eli Zaretskii
2013-07-06 19:28           ` Andreas Röhler
2013-07-06 12:29 ` Andreas Röhler

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