diff options
author | Karl Williamson <public@khwilliamson.com> | 2010-12-19 11:00:49 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2010-12-19 20:21:54 -0700 |
commit | 681f01c2a5ff0846090d78599b3d4caeb93fda26 (patch) | |
tree | 4fd5f0632dfb363f432dc734a6c9f5e9cb654b15 /perl.h | |
parent | c8536afa2abc39d901062df19a839a4209513974 (diff) | |
download | perl-681f01c2a5ff0846090d78599b3d4caeb93fda26.tar.gz |
pv_escape: Add option to dump all non-ascii as hex
This patch adds an option to pv_escape() to dump all characters above ASCII
in hex. Before, you could get all chars as hex or the Latin1 non-ASCII
as octal, whereas the typical values for these that people think in are
given in hex.
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -6159,6 +6159,7 @@ extern void moncontrol(int); #define PERL_PV_ESCAPE_UNI 0x0100 #define PERL_PV_ESCAPE_UNI_DETECT 0x0200 +#define PERL_PV_ESCAPE_NONASCII 0x0400 #define PERL_PV_ESCAPE_ALL 0x1000 #define PERL_PV_ESCAPE_NOBACKSLASH 0x2000 |