CHARSET= Option

Specifies the character set to be generated in the META declaration for the output.
Valid in: LIBNAME statement for the ODS MARKUP and ODS HTML statements
Category: ODS: Third-Party Formatted

Syntax

CHARSET=character-set ;

Required Argument

character-set
Specifies the character set to use in the META tag for HTML output.
An example of an encoding is ISO-8859-1. Official character sets for use on the Internet are registered by IANA (Internet Assigned Numbers Authority). IANA is the central registry for various Internet protocol parameters, such as port, protocol and enterprise numbers, and options, codes and types. For a complete list of character-set values, see www.unicode.org/reports/tr22/index.html and www.iana.org/assignments/character-sets.
A character set is like an encoding-value in this context. However, character set is the term that is used to identify an encoding that is suitable for use on the Internet.

Example: Generated Output in a META Declaration for an ODS MARKUP Statement

<META http-equiv="Content-Type" content="text/html; charset=iso-8858-1">

See Also

Conceptual Information:
Statements:
ODS MARKUP Statement in SAS Output Delivery System: User's Guide
ODS HTML Statement in SAS Output Delivery System: User's Guide