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
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.