From 6ae9f32af6f08fad4023edda45596d5c654483de Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Wed, 12 May 2010 11:50:19 -0600 Subject: PATCH: Clean up EBCDIC handling of \cX The function perl_ebcdic_control() is unnecessary, as the toCTRL macro that calls it can be changed to just map EBCDIC to ASCII first, and then doing the normal procedure. This means that EBCDIC and ASCII will no longer diverge. Currently, EBCIDIC gives a syntax error for inputs outside its domain, whereas the ASCII version accepts some of them. --- pod/perlop.pod | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pod/perlop.pod') diff --git a/pod/perlop.pod b/pod/perlop.pod index de687d3c96..58c0660ac7 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -1060,9 +1060,9 @@ L for the complete list of what these sequences mean on both ASCII and EBCDIC platforms. Use of any other character following the "c" besides those listed above is -prohibited on EBCDIC platforms, and discouraged (and may become deprecated or -forbidden) on ASCII ones. What happens for those other characters currently -though, is that the value is derived by inverting the 7th bit (0x40). +discouraged, and may become deprecated or forbidden. What happens for those +other characters currently though, is that the value is derived by inverting +the 7th bit (0x40). To get platform independent controls, you can use C<\N{...}>. -- cgit v1.2.1