Table of Contents

Search

  1. Preface
  2. XML Concepts
  3. Using XML with PowerCenter
  4. Working with XML Sources
  5. Using the XML Editor
  6. Working with XML Targets
  7. XML Source Qualifier Transformation
  8. Midstream XML Transformations
  9. Appendix A: XML Datatype Reference
  10. Appendix B: XPath Query Functions Reference

XML Guide

XML Guide

Unicode Encoding

Unicode Encoding

An XML file contains an encoding attribute that indicates the code page in the file. The most common encodings are UTF-8 and UTF-16. UTF-8 represents a character with one to four bytes, depending on the Unicode symbol. UTF-16 represents a character as a 16-bit word.
The following example shows a UTF-8 attribute in an XML file:
<?xml version="1.0"
encoding="UTF-8"?>
<note xsi:SchemaLocation="http://www.w3schools.com note.xsd">    <body>XML Data</body> </note>

0 COMMENTS

We’d like to hear from you!