Hi all,
Сould you please say how to output special symbols by proc report using ods rtf?
it seems I have found this solution:
~{unicode 03BB}z
and in the define:
define var11 / page " *~{unicode 03BB}z" style(header)=[just=c cellwidth=11.16%] left;
Does the symbol appear like that in the actual RTF text? Open the rtf file in a text editor, something like notepad++, and look for it. If it looks like that in the raw text file then that is one issue, if it is fine in the plain text file, then the software you are using to render the rtf (propbably Word thats most common) is changing it. Assuming your SAS session is setup for UTF 98 or 16) it should be able to process that character.
it seems I have found this solution:
~{unicode 03BB}z
and in the define:
define var11 / page " *~{unicode 03BB}z" style(header)=[just=c cellwidth=11.16%] left;
Hi:
It worked for me in ODS RTF in SAS 9.4 M3 without needing any RTF control strings. I used SASHELP.CLASS since you only wanted to focus on the column headers, the data did not matter.
cynthia
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.