Previous Page | Next Page

Options for Commands, Statements, and Procedures for NLS

ODSCHARSET= Option



Specifies the character set to be generated in the META declaration for the output.
Valid in: LIBNAME statement for the XML engine
Category: Data Access
LIBNAME statement for the XML engine: Specifies the character set to use for generating an output XML document

Syntax
Arguments
Details
See Also

Syntax

ODSCHARSET=character-set;


Arguments

character-set

For the LIBNAME statement for the XML engine, specifies the character set to use in the ENCODING= attribute.

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, options, codes and types. For a complete list of character-set values, visit www.unicode.org/reports/tr22/index.html and www.iana.org/assignments/character-sets.

Note:   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.  [cautionend]


Details

An XML declaration is not required in all XML documents. Such a declaration is required only when the character encoding of the document is other than the default UTF-8 or UTF-16 and no encoding was determined by a higher-level protocol.


See Also

Conceptual Information:

Encoding for NLS

Statements:

LIBNAME XML in SAS XML LIBNAME Engine: User's Guide

Previous Page | Next Page | Top of Page