all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emmanuel Bigler <Emmanuel.Bigler@ens2m.fr>
To: Eli Zaretskii <eliz@gnu.org>,
	lennart.borgman@gmail.com, monnier@iro.umontreal.ca,
	7962@debbugs.gnu.org
Subject: bug#7962: 23.2; capitalize letters ISO-8859-1 with diacritic signs in emacs 23.2.1
Date: Fri, 04 Feb 2011 09:00:29 +0100	[thread overview]
Message-ID: <4D4BB21D.6050504@ens2m.fr> (raw)
In-Reply-To: <83oc6sbyum.fsf@gnu.org>

Le 03/02/2011 22:19, Eli Zaretskii a écrit :
>> Date: Thu, 03 Feb 2011 19:49:22 +0100
>> From: Emmanuel Bigler<Emmanuel.Bigler@ens2m.fr>
>> Cc:
>>
>> However I am reluctant to switch to UTF-8 for all my texts in English,
>> German, French, even Icelandic etc... i.e. Western European languages,
>> the only ones I'll ever typeset, which are perfectly handled in
>> unibyte iso-8859-1.
>
> You seem to assume that going multibyte requires that your files be
> encoded in UTF-8.  That simply isn't true.  The files can continue be
> encoded in ISO-8859-1 or ISO-8859-15; Emacs will decode them into its
> internal representation when you visit the file and encode it back
> when you save it.  You lose nothing.
>


OK Eli. I'm trying to understand and this is a bit tricky.
Now I'm entering into **very** strange things ; I hope somebody can 
explain what's going on. This is emacs 23.2.93.1

1/ in an emacs buffer I load a test-file created years ago with a 
program, a list of unibyte characters that I display as iso-8859-1. All 
characters are displayed properly.

2/ I (toggle-enable-multibyte-characters nil) : unibyte characters 
already present in the files do not change and are displayed correctly.
I type a fresh sequence of letters with diacritic signs at the end of 
the buffer : OK. I toggle back to unibyte : freshly entered letters 
appear as 2-byte sequences. OK

3/ now I cut-paste a line of the  old unibyte file and enter a fresh 
letter with diacritic sign in thye middel of this line ; I'm still in 
2-byte codeing/display : the letter entered in the middle of unibytes 
seems to stay unibyte !!
Is this a bug, a feature, or misconceptions / misunderstandings on my 
side ??

------------

 From Sven :
 > IMO offering to convert them to UTF-8 would be more helpful.  The
 > legacy encodings ought to die some day.

Exactly like legacy software should die some day ; (ahem) : who said : 
"exacty like emacs, an old and obsolete software, that I've been using 
for 25 years..." ;-);-)

--

Emmanuel







  parent reply	other threads:[~2011-02-04  8:00 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-02 10:35 bug#7962: 23.2; capitalize letters ISO-8859-1 with diacritic signs in emacs 23.2.1 Emmanuel Bigler
2011-02-02 19:47 ` Eli Zaretskii
2011-02-02 19:53 ` Stefan Monnier
2011-02-03 13:34   ` Emmanuel Bigler
2011-02-03 17:56     ` Eli Zaretskii
2011-02-03 18:01     ` Emmanuel Bigler
2011-02-03 18:21     ` Lennart Borgman
2011-02-03 18:49       ` Emmanuel Bigler
2011-02-03 21:19         ` Eli Zaretskii
2011-02-03 21:39           ` Lennart Borgman
2011-02-03 22:17             ` Sven Joachim
2011-02-03 22:22               ` Lennart Borgman
2011-02-03 22:35                 ` Sven Joachim
2011-02-04 10:44                 ` Andreas Schwab
2011-02-04 12:07                   ` Lennart Borgman
2011-02-04 12:41                     ` Andreas Schwab
2011-02-04 13:02                       ` Lennart Borgman
2011-02-04 13:06                         ` Andreas Schwab
2011-02-04 13:11                           ` Lennart Borgman
2011-02-04 13:21                             ` Lennart Borgman
2011-02-04 13:31                             ` Andreas Schwab
2011-02-04 13:44                               ` Lennart Borgman
2011-02-04 13:58                                 ` Andreas Schwab
2011-02-04 14:00                                   ` Lennart Borgman
2011-02-04 14:22                                     ` Andreas Schwab
2011-02-04 14:54                             ` Eli Zaretskii
2011-02-04 15:00                               ` Lennart Borgman
2011-02-04 15:20                                 ` Jason Rumney
2011-02-04 15:36                                 ` Eli Zaretskii
2011-02-04 16:36                                   ` Lennart Borgman
2011-02-04 17:08                               ` Emmanuel Bigler
2011-02-04 18:37                                 ` Eli Zaretskii
2011-02-04 21:34                                 ` Stefan Monnier
2011-02-05  9:27                                   ` bug#7962: 23.2; capitalize letters ISO-8859-1 [SOLVED, MANY THANKS TO ALL] Emmanuel Bigler
2011-02-05 16:04                                     ` Stefan Monnier
2011-02-04  8:00           ` Emmanuel Bigler [this message]
2011-02-04  8:09             ` bug#7962: 23.2; capitalize letters ISO-8859-1 with diacritic signs in emacs 23.2.1 Emmanuel Bigler
2011-02-04  8:22               ` bug#7962: 23.2; capitalize / ISO 8859 / UNIBYTE / utf-8 backward compatibility Emmanuel Bigler
2011-02-04  8:48                 ` Eli Zaretskii
2011-02-03 18:49     ` bug#7962: 23.2; capitalize letters ISO-8859-1 with diacritic signs in emacs 23.2.1 Stefan Monnier

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D4BB21D.6050504@ens2m.fr \
    --to=emmanuel.bigler@ens2m.fr \
    --cc=7962@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=lennart.borgman@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    /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 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.