unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Oliver Scholz <alkibiades@gmx.de>
Subject: Re: Multibyte chars
Date: Thu, 08 May 2003 09:34:00 +0200	[thread overview]
Message-ID: <ur879sxhz.fsf@ID-87814.user.dfncis.de> (raw)
In-Reply-To: m2addy8pz6.fsf_-_@sbcglobal.net

Harry Putnam <hgp@sbcglobal.net> writes:

> Oliver Scholz <alkibiades@gmx.de> writes:
[...]
>> That sounds as if the text is interpreted as unibyte text. What is the
>> value of `enable-multibyte-characters' in this buffer? -- But if it is
>> t, what does `C-u C-x =' return with point on such a character?
>
> Oliver... Sorry I took so long to reply here.
>
> Since its been so long since this thread was current..  The response
> of yours referenced abouve is:
>   Message-ID: <usms1uvdb.fsf@ID-87814.user.dfncis.de>
>
> About `enable-multibyte-characters': In that buffer the value is `nil'
> but I ran into something I don't understand trying to set it to `t'.
>
> M-x set-variable enable-multibyte-characters t
>
> Gives me: 
>   Variable enable-multibyte-characters is read-only
>
> I don't recall ever seeinig that message come up when setting a var before.

Yes, that's expected for `enable-multibyte-characters'. (Though I
don't know how it is implemented, not having read the code.) You can
toggle a buffer between multibyte and unibyte with the command
`M-x toggle-enable-multibyte-characters'. But I believe that this
should normally not be necessary. Emacs uses multibyte buffers by
default. Do you start it with the "--unibyte" command line option? Or
do you have `(standard-display-european t)' somewhere in you .emacs?

Toggling with `toggle-e-m-characters' when Gnus displays the article
won't help, because the strange characters and numbers that you see
are probably the UTF-8 representation interpreted as unibyte
characters. So the article was not decoded in the first
place. Toggling multibyte will only help, if the UTF-8 got decoded to
Emacs' internal multibyte representation (emacs-mule). 

But I think that all this will just work, if you find out what causes
your Emacs to use a unibyte buffer.

    Oliver
-- 
19 Floréal an 211 de la Révolution
Liberté, Egalité, Fraternité!

  reply	other threads:[~2003-05-08  7:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.5300.1051558114.21513.help-gnu-emacs@gnu.org>
2003-04-29  9:58 ` multiple inserts within skeletons Oliver Scholz
2003-04-29 10:52   ` Oliver Lohmann
2003-04-29 14:51   ` Harry Putnam
2003-04-29 16:22     ` Oliver Scholz
2003-04-29 23:13       ` Harry Putnam
2003-04-30  9:23         ` Oliver Scholz
2003-05-07 20:24           ` Multibyte chars [was Re: multiple inserts within skeletons] Harry Putnam
2003-05-08  7:34             ` Oliver Scholz [this message]
2003-05-09  4:33               ` Multibyte chars Harry Putnam

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=ur879sxhz.fsf@ID-87814.user.dfncis.de \
    --to=alkibiades@gmx.de \
    /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.
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).