From 831486481c397e13dc164524e54eddbc017fade3 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Sun, 3 Aug 2014 22:02:41 +0300 Subject: Document more about sprintf %c. --- doc/gawk.texi | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/gawk.texi') diff --git a/doc/gawk.texi b/doc/gawk.texi index c6520ba3..ab98dda3 100644 --- a/doc/gawk.texi +++ b/doc/gawk.texi @@ -9029,6 +9029,8 @@ and then to print the multibyte encoding of that character. Similarly, when printing a numeric value, @command{gawk} allows the value to be within the numeric range of values that can be held in a wide character. +If the conversion to multibyte encoding fails, @command{gawk} +uses the low eight bits of the value as the character to print. Other @command{awk} versions generally restrict themselves to printing the first byte of a string or to numeric values within the range of -- cgit v1.2.3