BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
r_behata
Barite | Level 11

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.

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

Are you sure the ODS Escapechar is set? To the ^ character?

View solution in original post

2 REPLIES 2
ballardw
Super User

Are you sure the ODS Escapechar is set? To the ^ character?

r_behata
Barite | Level 11

Awesome!! Thanks for pointing out the ODS ESCAPECHAR.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 895 views
  • 1 like
  • 2 in conversation