From: Sam Steingold <sds@gnu.org>
Subject: cannot encode a buffer??
Date: 24 Jun 2003 10:52:26 -0400 [thread overview]
Message-ID: <u7k7b8r4l.fsf@gnu.org> (raw)
GNU Emacs 21.3.50.1 (i386-msvc-nt5.0.2195)
of 2003-06-16 on WINSTEINGOLDLAP
--with-msvc (12.00)
I have a file which starts with
";;; -*- coding: utf-8-unix -*-"
when I try to save it, I get this:
These default coding systems were tried to encode text
in the buffer `.bbdb':
utf-8-unix
However, each of them encountered these problematic characters:
utf-8-unix: 山 本 和 彦
The first problematic character is at point in the displayed buffer,
and C-u C-x = will give information about it.
Select one of the following safe coding systems, or edit the buffer:
iso-2022-7bit compound-text-with-extensions
Or specify any other coding system
on your risk of losing the problematic characters.
clicking on the "problematic characters" gives;
character: 山 (0156663, 56755, 0xddb3)
charset: japanese-jisx0208 (JISX0208.1983/1990 Japanese Kanji: ISO-IR-87.)
code point: 59 51
syntax: w which means: word
category: C:Chinese (Han) characters of 2-byte character sets j:Japanese
|:While filling, we can break a line at this character.
buffer code: 0x92 0xBB 0xB3
file code: not encodable by coding system utf-8-unix
font:
-outline-MS Mincho-normal-r-normal-normal-13-97-96-96-c-70-jisx0208-sjis
now, when I type "utf-8-unix" at the "Select coding system (default
iso-2022-7bit):" prompt, the file is saved, but the next time I have to
save the file, the problem repeats, i.e., I am asked to enter
"utf-8-unix" &c.
--
Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.palestine-central.com/links.html>
Those who value Life above Freedom are destined to lose both.
next reply other threads:[~2003-06-24 14:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-24 14:52 Sam Steingold [this message]
2003-06-24 16:23 ` cannot encode a buffer?? Kai Großjohann
2003-06-24 19:17 ` Sam Steingold
2003-06-25 7:03 ` Kai Großjohann
2003-06-25 7:52 ` Kenichi Handa
2003-06-25 11:22 ` Stephen J. Turnbull
2003-06-25 11:52 ` Jason Rumney
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=u7k7b8r4l.fsf@gnu.org \
--to=sds@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).