2.7.1.5.1.1.1.2 CodePageType

The CodePageType type is used to specify the value of the code page of the data in the data file.

The following is the XSD for the CodePageType type.

   <xs:simpleType name="CodePageType">
     <xs:union memberTypes="xs:int">
       <xs:simpleType>
         <xs:restriction base="xs:string">
           <xs:enumeration value="ACP"/>
           <xs:enumeration value="OEM"/>
           <xs:enumeration value="RAW"/>
         </xs:restriction>
       </xs:simpleType>
     </xs:union>
   </xs:simpleType>

The CodePageType type is a union that allows an integer value or a value from a string enumeration. If the value is an integer, it represents the ANSI code page. If the value is a string enumeration value, it is one of the values in the following table.

Enumeration value

Description

ACP

Columns of char, varchar, or text data type SHOULD be converted from the ANSI code page (ISO 1252 [ISO/IEC8859-1]) to the server code page.<59>

OEM

Columns of char, varchar, or text data type SHOULD be converted from the system OEM code page to the server code page.<60>

RAW

No conversion from one code page to another occurs.