From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: how to calculate the size of string in bytes? Date: Tue, 18 Aug 2015 19:35:03 +0300 Message-ID: <83fv3glfm0.fsf@gnu.org> References: <20150818101352.GA6744@tuxteam.de> <83mvxoll2g.fsf@gnu.org> <20150818144530.GB15783@tuxteam.de> <83k2sslk0d.fsf@gnu.org> <20150818160145.GA18309@tuxteam.de> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1439915742 1230 80.91.229.3 (18 Aug 2015 16:35:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Aug 2015 16:35:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 18 18:35:33 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 1ZRjrI-00085a-S3 for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Aug 2015 18:35:33 +0200 Original-Received: from localhost ([::1]:58432 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRjrI-0004t3-0m for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Aug 2015 12:35:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRjr5-0004q1-Dx for help-gnu-emacs@gnu.org; Tue, 18 Aug 2015 12:35:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZRjr2-0004bE-95 for help-gnu-emacs@gnu.org; Tue, 18 Aug 2015 12:35:19 -0400 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:55377) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRjr2-0004Zs-2R for help-gnu-emacs@gnu.org; Tue, 18 Aug 2015 12:35:16 -0400 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NTA00300DU27T00@mtaout29.012.net.il> for help-gnu-emacs@gnu.org; Tue, 18 Aug 2015 19:35:13 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NTA00ISOE2PZ390@mtaout29.012.net.il> for help-gnu-emacs@gnu.org; Tue, 18 Aug 2015 19:35:13 +0300 (IDT) In-reply-to: <20150818160145.GA18309@tuxteam.de> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.185 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:106682 Archived-At: > Date: Tue, 18 Aug 2015 18:01:45 +0200 > Cc: help-gnu-emacs@gnu.org > From: > > I was thinking of "characters not expressible in UTF-8". Does Emacs have > those? Raw bytes come out as themselves (which might be invalid UTF-8), but that's not a failure, that's the user's fault, because they had those bytes in the buffer to begin with.