BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
DmytroYermak
Lapis Lazuli | Level 10

Hi all,

 

Сould you please say how to output special symbols by proc report using ods rtf?

 

1 ACCEPTED SOLUTION

Accepted Solutions
DmytroYermak
Lapis Lazuli | Level 10

 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;

 

View solution in original post

4 REPLIES 4
RW9
Diamond | Level 26 RW9
Diamond | Level 26

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.

DmytroYermak
Lapis Lazuli | Level 10

 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;

 

DmytroYermak
Lapis Lazuli | Level 10
You are right - I had to write an rtf command to print the symbol. Please see the solution in separate message.
Cynthia_sas
SAS Super FREQ

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

no_rtf_string.png

sas-innovate-2024.png

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.

 

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.

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
  • 4 replies
  • 3543 views
  • 0 likes
  • 3 in conversation