Options for Commands, Statements, and Procedures for NLS |
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
|
ODSCHARSET=character-set;
|
- 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]](../../../../common/63294/HTML/default/images/cautend.gif)
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.
|
Conceptual Information:
|
|
Statements:
|
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.