emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

unencodable-char-position bug?


From: Paul Pogonyshev
Subject: unencodable-char-position bug?
Date: Wed, 15 Feb 2006 00:19:25 +0200
User-agent: KMail/1.7.2

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]