help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: how to calculate the size of string in bytes?


From: tomas
Subject: Re: how to calculate the size of string in bytes?
Date: Tue, 18 Aug 2015 18:01:45 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

-----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:  <tomas@tuxteam.de>
> > 
> > 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-----



reply via email to

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