From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: Re: Gnus does not format my spam correctly!
Date: Wed, 23 Feb 2005 11:04:04 +0900 [thread overview]
Message-ID: <b9yvf8kghgr.fsf@jpl.org> (raw)
In-Reply-To: <87brac3ysu.fsf@tc-1-100.kawasaki.gol.ne.jp>
> Daniel Pittman <daniel@rimspace.net> writes:
>> The most likely case: your Emacs selected a double-width font for the
>> Asian characters, but a single-width font as your normal font.
>>>>> In <87brac3ysu.fsf@tc-1-100.kawasaki.gol.ne.jp> Miles Bader wrote:
> Actually that seems unlikely to be the reason: if you look at the text,
> the basic problem is that there are too many spaces -- even though Emacs
> uses "half-width" (from a CJK perspective) spaces, they're _still_ too
> wide.
UTF-8 decoding often changes character width, for example:
(let ((s (string (make-char 'japanese-jisx0208 40 45))))
(list (string-width s)
(string-width (decode-coding-string
(encode-coding-string s 'utf-8)
'utf-8))))
=> (2 1)
Although I'm not quite familiar with the unicode, I accept that
it is so.
next prev parent reply other threads:[~2005-02-23 2:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-22 6:03 Zack Weinberg
2005-02-22 8:56 ` Daniel Pittman
2005-02-23 0:28 ` Miles Bader
2005-02-23 2:04 ` Katsumi Yamaoka [this message]
2005-02-22 9:38 ` Reiner Steib
2005-02-22 23:57 ` Miles Bader
2005-02-23 3:15 ` Zack Weinberg
2005-02-23 8:18 ` Henrik Enberg
2005-02-23 8:34 ` Zack Weinberg
2005-02-23 15:14 ` Adam Duck
2005-02-24 0:50 ` Miles Bader
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=b9yvf8kghgr.fsf@jpl.org \
--to=yamaoka@jpl.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.
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 NNTP newsgroup(s).