emacs-devel
[Top][All Lists]
Advanced

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

Re: Fcall_process: wrong conversion


From: Eli Zaretskii
Subject: Re: Fcall_process: wrong conversion
Date: Fri, 19 May 2006 13:41:59 +0300

> From: "Herbert Euler" <address@hidden>
> Date: Fri, 19 May 2006 10:49:33 +0800
> Cc: address@hidden
> 
> I'm sorry but how does Emacs decide whether a string
> is unibyte?

See multibyte-string-p.  It boils down to this macro from lisp.h:

    /* Nonzero if STR is a multibyte string.  */
    #define STRING_MULTIBYTE(STR)  \
      (XSTRING (STR)->size_byte >= 0)

In other words, this information is recorded in the string object
itself.




reply via email to

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