Specifying character encoding

Set the value of the encode_type configitem to specify the character encoding for content generated by the LiveContent S1000D API.

About this task

Add the encode_type configitem to the <ietm> section of the wietmsd_prg.xml configuration file.

Procedure

  1. Navigate to your collection directory.
  2. Open wietmsd_prg.xml for editing.
  3. Within the <ietm> section of the file, add or edit the encode_type configitem, setting the contents of its value child element to one of the following values.
    • UTF-8 to cause content generated by API calls to be encoded in the UTF-8 character set
    • ISO-8859-1 to cause content generated by API calls to be encoded in the ISO-8859-1 character set
    In the following example, the encode_type configitem is set to use the UTF-8 character set.
    
    <ietm>
         <configitem name="encode_type">
              <comment>ISO-8859-1, UTF-8, default is ISO-8859-1</comment>
              <value>UTF-8</value>
         </configitem>
    </ietm>
    
  4. Save and close wietmsd_prg.xml.