[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Wed, 03 Dec 2003 18:29:38 +0100
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)
Consider the following three similar ways of asking the same question:
1. (find-coding-systems-for-charsets (list (char-charset ?)))
=> (raw-text emacs-mule)
2. (find-coding-systems-string "")
(find-coding-systems-region (point-min) (point-max)))
=> (mule-utf-8 mule-utf-16be-with-signature
mule-utf-16le-with-signature mule-utf-16 mule-utf-16be
mule-utf-16le raw-text emacs-mule no-conversion)
I.e. three inconsistent answers.
Ad 1. This is what I would have thought was the right answer.
Ad 2. `undecided' implies that the string contains only ASCII
characters, which is obviously wrong in this case.
Ad 3. It doesn't make sense for 2. and 3. to return different
values. And is \235 really encodable by utf-8?
In GNU Emacs 18.104.22.168 (i686-pc-linux-gnu, GTK+ Version 2.0.2)
of 2003-12-03 on defun.localdomain
configured using `configure '--with-gtk''
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.iso88591
Major mode: Group
Minor modes in effect:
- find-coding-systems inconsistencies,
Jesper Harder <=