From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: how to calculate the size of string in bytes? Date: Tue, 18 Aug 2015 18:01:45 +0200 Message-ID: <20150818160145.GA18309@tuxteam.de> References: <20150818101352.GA6744@tuxteam.de> <83mvxoll2g.fsf@gnu.org> <20150818144530.GB15783@tuxteam.de> <83k2sslk0d.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1439913783 31674 80.91.229.3 (18 Aug 2015 16:03:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Aug 2015 16:03:03 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 18 18:02:44 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZRjLW-0000mL-HW for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Aug 2015 18:02:42 +0200 Original-Received: from localhost ([::1]:58175 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRjLV-0002JR-Ru for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Aug 2015 12:02:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRjKj-0001D0-Oa for help-gnu-emacs@gnu.org; Tue, 18 Aug 2015 12:01:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZRjKi-0005qB-Th for help-gnu-emacs@gnu.org; Tue, 18 Aug 2015 12:01:53 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:35670 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRjKd-0005lb-8s; Tue, 18 Aug 2015 12:01:47 -0400 Original-Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1ZRjKb-0004oY-Im; Tue, 18 Aug 2015 18:01:45 +0200 In-Reply-To: <83k2sslk0d.fsf@gnu.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:106680 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Aug 18, 2015 at 06:00:02PM +0300, Eli Zaretskii wrote: > > Date: Tue, 18 Aug 2015 16:45:30 +0200 > > Cc: help-gnu-emacs@gnu.org > > From: > > > > Perhaps you know that off-hand, but I can look it up/try it out: probably > > encode-coding-string and process-send-string would both fail, if the target > > coding system is set to UTF-8? > > Why should it fail? In which use case? I'm probably missing > something. Perhaps I should make my homework better before making stupid questions :-) I was thinking of "characters not expressible in UTF-8". Does Emacs have those? regards - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlXTVukACgkQBcgs9XrR2kYLUACeNqxXdwZHjA/e/slUThyeS9KU JqsAni4tgUKj8QcX6PENuQYNsg4lmefS =LWIU -----END PGP SIGNATURE-----