diff NEWS @ 20245:29eb47fe8e8c

Add support for octal and hex escape sequences in single-quoted *printf arguments (bug #39774). * NEWS: Announce support for octal and hex escape sequences in single quoted strings. * utils.cc (do_string_escapes): Add case statements for hex and octal escape sequences and convert strings to numbers. * utils.cc (Fdo_string_escapes): Add BIST tests for octal and hex escape sequences.
author Rik <rik@octave.org>
date Wed, 20 May 2015 17:18:41 -0700
parents d9f35ceff9e1
children f2bc7d23295d
line wrap: on
line diff
--- a/NEWS	Wed May 20 08:01:10 2015 -0700
+++ b/NEWS	Wed May 20 17:18:41 2015 -0700
@@ -1,6 +1,11 @@
 Summary of important user-visible changes for version 4.2:
 ---------------------------------------------------------
 
+ ** Octal ('\NNN') and hex ('\xNN') escape sequences in single quoted
+    strings are now interpreted by the function do_string_escapes().
+    The *printf family of functions now supports octal and hex escape
+    sequences in single-quoted strings for Matlab compatibility.
+
  ** mkfifo now interprets the MODE argument as an octal, not decimal, integer.
     This is consistent with the equivalent shell command.