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.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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