From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.devel Subject: unencodable-char-position bug? Date: Wed, 15 Feb 2006 00:19:25 +0200 Message-ID: <200602150019.25230.pogonyshev@gmx.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1139967927 7793 80.91.229.2 (15 Feb 2006 01:45:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Feb 2006 01:45:27 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 15 02:45:26 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F9BjC-0007eO-Kf for ged-emacs-devel@m.gmane.org; Wed, 15 Feb 2006 02:45:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F9BXg-0000D4-SV for ged-emacs-devel@m.gmane.org; Tue, 14 Feb 2006 20:33:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F98V5-0002fP-RX for emacs-devel@gnu.org; Tue, 14 Feb 2006 17:18:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F98V2-0002ei-2B for emacs-devel@gnu.org; Tue, 14 Feb 2006 17:18:23 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F98V1-0002ec-KK for emacs-devel@gnu.org; Tue, 14 Feb 2006 17:18:19 -0500 Original-Received: from [213.165.64.21] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1F98Zm-0004dQ-Vc for emacs-devel@gnu.org; Tue, 14 Feb 2006 17:23:15 -0500 Original-Received: (qmail invoked by alias); 14 Feb 2006 22:18:16 -0000 Original-Received: from unknown (EHLO [194.158.212.28]) [194.158.212.28] by mail.gmx.net (mp032) with SMTP; 14 Feb 2006 23:18:16 +0100 X-Authenticated: #16844820 Original-To: emacs-devel@gnu.org User-Agent: KMail/1.7.2 Content-Disposition: inline X-Y-GMX-Trusted: 0 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:50546 Archived-At: Hi, Is it correct that (unencodable-char-position 0 1 'utf-8 nil "=D1=8B") 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