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
Diamond | Level 26

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

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