[Top][All Lists]

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

Re: How to use string-to/as-unibyte correctly?

From: Andreas Schwab
Subject: Re: How to use string-to/as-unibyte correctly?
Date: Wed, 22 Jun 2016 09:49:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Leo Liu <address@hidden> writes:

> I had two cases of string-to-unibyte to mean I am expecting unibyte
> string and will complain if given something else.

There should be very few places that need a unibyte string.  Basically
only where we are communicating with outside of Emacs, immediately
before decoding or after encoding the string.


Andreas Schwab, SUSE Labs, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

reply via email to

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