Function: string-make-unibyte

string-make-unibyte is a function defined in fns.c.

This function is obsolete since 26.1; use encode-coding-string.

Signature

(string-make-unibyte STRING)

Documentation

Return the unibyte equivalent of STRING.

Multibyte character codes above 255 are converted to unibyte by taking just the low 8 bits of each character's code.

Probably introduced at or before Emacs version 20.3.

Source Code

// Defined in /usr/src/emacs/src/fns.c
{
  CHECK_STRING (string);

  return string_make_unibyte (string);
}