Date: Tue, 5 Oct 2010 15:46:01 -0500
Reply-To: Joe Matise <snoopy369@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Joe Matise <snoopy369@GMAIL.COM>
Subject: =?UTF-8?Q?Re=3A_how_to_add_=E2=89=A4_and_=E2=89=A5_symbols_for_a_text_in_SAS?=
In-Reply-To: <8CD32E3A42F53BC-2824-1BD7@webmail-d077.sysops.aol.com>
Content-Type: text/plain; charset=UTF-8
Art, I think it depends on the character set. DOS codes (alt-242) seem to
include them, but DOS was notorious for having its own implementation of
things. Dos and alt+3 digit is usually code page 437, which has as you note
≥ at 242 etc.; but that is neither particularly standard (except in
MS-land).
SAS appears (on my Windows 7 installation at least) to support CP-1252 and
not CP-437, hence ò not ≥. (Alt+0+242 gives the CP-1252 value, by the
way). CP-1252 does not have ≥ or ≤ available in it. I'd be curious to see
if other SAS installations support CP 437.
-Joe
On Tue, Oct 5, 2010 at 3:33 PM, Arthur Tabachneck <art297@netscape.net>wrote:
> Sarath,
>
> I don't have SAS9.2 (thus can't test this) but, if you do, you can try the
> code suggested at:
> http://support.sas.com/kb/35/559.html
>
> I think that the unicode characters needed may be 2264 and 2265.
>
> Interestingly, in Windows (but not in SAS), if I hold down the ALT key and,
> while it is held down, enter 242 or 243 on the numeric keypad, I do get the
> ≥ and ≤ symbols (thus they are really there).
>
> Art
>
> -----Original Message-----
> From: SAS programmer <learnsasonline@gmail.com>
> To: art297@netscape.net
> Cc: art297@netscape.net; SAS-L@listserv.uga.edu; snoopy369@gmail.com;
> rjf2@cdc.gov; sbarry@sbbworks.com
> Sent: Tue, Oct 5, 2010 12:28 pm
> Subject: how to add ≤ and ≥ symbols for a text in SAS
>
> Hi,
>
> I want to show ≤ and ≥ symbols for Inclusion and exclusion criteria
> (character) variable text and not in label. How should I do that.
>
> “Ages ≤ 8years old and ≥50 years old”
>
> Thanks in advance.
>
> Sarath
>
>
>
|