From 0d7481239056e2d701591728f240094c7a939d3a Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Fri, 3 Jun 2022 01:04:41 -0400 Subject: [PATCH] Clarify documentation of `string-to-multibyte' * doc/lispref/nonascii.texi (Converting Representations): Clarify what `string-to-multibyte' does. (Bug#55777) --- doc/lispref/nonascii.texi | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi index 6dc23637a7..7a3c3c63e7 100644 --- a/doc/lispref/nonascii.texi +++ b/doc/lispref/nonascii.texi @@ -271,11 +271,9 @@ Converting Representations @defun string-to-multibyte string This function returns a multibyte string containing the same sequence of characters as @var{string}. If @var{string} is a multibyte string, -it is returned unchanged. The function assumes that @var{string} -includes only @acronym{ASCII} characters and raw 8-bit bytes; the -latter are converted to their multibyte representation corresponding -to the codepoints @code{#x3FFF80} through @code{#x3FFFFF}, inclusive -(@pxref{Text Representations, codepoints}). +it is returned unchanged. Otherwise, bytes with values 128 to 255 are +converted to their corresponding multibyte representations in the +@code{eight-bit} charset. @end defun @defun string-to-unibyte string -- 2.36.1