I am trying to re-use an existing format which includes some Unicode Characters in it. However, The report which I intend to use this format (HTML Output) does not resolve the unicode characters in a desired format. The other legacy report that uses the same format is displaying the resolved values.
Wondering if there is any option to enforce the unicode characters in the report.
Here is the sample code :
proc format;
value $mtrcspc
New_Acct_EOM_Purch_Amt="New Acct (^{unicode 2264}12 MOB) Month-end Purchase Sales (in MM)"
New_Acct_EOC_Purch_Pct="% New Acct (^{unicode 2264}12 MOB) Month-end Sales";
run;
data have;
col1="New_Acct_EOM_Purch_Amt";output;
col1="New_Acct_EOC_Purch_Pct";output;
run;
proc print data=have;
var col1;
format col1 $mtrcspc.;
run;
Thank You.
Are you sure the ODS Escapechar is set? To the ^ character?
Are you sure the ODS Escapechar is set? To the ^ character?
Awesome!! Thanks for pointing out the ODS ESCAPECHAR.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.