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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 4932 views
  • 0 likes
  • 3 in conversation