mirror of
https://github.com/sasjs/core.git
synced 2025-12-11 06:24:35 +00:00
fix: support SOH, STX and DC1 control characters in mp_jsonout
This commit is contained in:
@@ -203,8 +203,11 @@
|
||||
prxchange('s/'!!'0A'x!!'/\n/',-1,
|
||||
prxchange('s/'!!'0D'x!!'/\r/',-1,
|
||||
prxchange('s/'!!'09'x!!'/\t/',-1,
|
||||
prxchange('s/'!!'01'x!!'/\\u0001/',-1, /* SOH */
|
||||
prxchange('s/'!!'02'x!!'/\\u0002/',-1, /* STX */
|
||||
prxchange('s/'!!'11'x!!'/\\u0011/',-1, /* DC1 */
|
||||
prxchange('s/\\/\\\\/',-1,&&name&i)
|
||||
)))))!!'"';
|
||||
))))))))!!'"';
|
||||
%end;
|
||||
%end;
|
||||
run;
|
||||
|
||||
Reference in New Issue
Block a user