From: Ralf Angeli <dev.null@iwi.uni-sb.de>
Subject: Re: Convert unibyte to multibyte on input
Date: Wed, 06 Jul 2005 09:35:07 +0200 [thread overview]
Message-ID: <42cb89ab$0$18648$14726298@news.sunsite.dk> (raw)
In-Reply-To: 42ca65d2$0$18647$14726298@news.sunsite.dk
* Ralf Angeli (2005-07-05) writes:
> If I understand (info "(elisp)Converting Representations") correctly,
> Emacs will convert unibyte text to multibyte if it is inserted into a
> multibyte buffer. However, on Windows I could observe that text,
> guillemets in particular, copied from the character table and pasted
> into Emacs will remain in its unibyte representation. When typing
> `C-u C-x =' on a « character one gets the following result with a CVS
> Emacs checked out and compiled a few days ago:
>
> ,----
> | character: « (0253, 171, 0xab)
> | charset: eight-bit-graphic (8-bit graphic char (0xA0..0xFF))
> | code point: 171
> | syntax: which means: whitespace
> | buffer code: 0xAB
> | file code: 0xAB (encoded by coding system raw-text-dos)
I think I identified the cause for this. The problem shows up
particularly in LaTeX files. Those are opened with a raw-text-dos
file coding system which prevents character code conversion. The
raw-text-dos file coding system being picked is likely the result of
missing autoloads for latexenc.el in the Windows build. I sent a bug
report to emacs-pretest-bugs.
--
Ralf
prev parent reply other threads:[~2005-07-06 7:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-05 10:49 Convert unibyte to multibyte on input Ralf Angeli
2005-07-06 7:35 ` Ralf Angeli [this message]
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='42cb89ab$0$18648$14726298@news.sunsite.dk' \
--to=dev.null@iwi.uni-sb.de \
--cc=angeli@iwi.uni-sb.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).