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 16:45:30 +0200 Message-ID: <20150818144530.GB15783@tuxteam.de> References: <20150818101352.GA6744@tuxteam.de> <83mvxoll2g.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 1439911990 1950 80.91.229.3 (18 Aug 2015 15:33:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Aug 2015 15:33:10 +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 17:33:10 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 1ZRisk-0004X1-Tk for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Aug 2015 17:32:59 +0200 Original-Received: from localhost ([::1]:57874 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRisk-0007kZ-9p for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Aug 2015 11:32:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47957) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRi8v-0000Bm-S4 for help-gnu-emacs@gnu.org; Tue, 18 Aug 2015 10:45:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZRi8v-0007iz-0E for help-gnu-emacs@gnu.org; Tue, 18 Aug 2015 10:45:37 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:35513 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZRi8p-0007fd-Rw; Tue, 18 Aug 2015 10:45:31 -0400 Original-Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1ZRi8o-0004BV-UK; Tue, 18 Aug 2015 16:45:30 +0200 In-Reply-To: <83mvxoll2g.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:106678 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Aug 18, 2015 at 05:37:11PM +0300, Eli Zaretskii wrote: > > Date: Tue, 18 Aug 2015 12:13:52 +0200 > > From: > > Cc: help-gnu-emacs@gnu.org > > > > Raw is, afaik, Emacs's internal coding system. > > Almost, with the exception of raw bytes and characters from un-unified > CJK charsets. Right, those get mapped to something non-UTF-8. Thanks for the clarification 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? regards - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlXTRQoACgkQBcgs9XrR2kbuvACdGZH9gt7pKKD8kYedVDstH6yk o9kAn1Y28MywYTJZGn52s121SyOUo57C =EYVr -----END PGP SIGNATURE-----