unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* unencodable-char-position bug?
@ 2006-02-14 22:19 Paul Pogonyshev
  2006-02-15  2:36 ` Kenichi Handa
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Pogonyshev @ 2006-02-14 22:19 UTC (permalink / raw)


Hi,

Is it correct that

	(unencodable-char-position 0 1 'utf-8 nil "ы")

evaluates to 0?  Since UTF-8 can encode anything, I presume the
correct return value would be nil...  The result is the same if
tried on a Russian letter character in a buffer instead of a
string.

In general, what is the best way to determine if given character
is encodable in given coding system?

Paul

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-02-17 19:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-14 22:19 unencodable-char-position bug? Paul Pogonyshev
2006-02-15  2:36 ` Kenichi Handa
2006-02-15 20:48   ` Paul Pogonyshev
2006-02-17 12:43     ` Kenichi Handa
2006-02-17 19:11       ` Paul Pogonyshev

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).