ACEXML 6.0.5
Public Types | Static Public Member Functions | Public Attributes | Static Public Attributes
ACEXML_Encoding Class Reference

ACEXML_Encoding. More...

#include <ACEXML/common/Encoding.h>

List of all members.

Public Types

enum  {
  UCS4BE, UCS4LE, UCS4_2143, UCS4_3412,
  UTF16BE, UTF16LE, UTF8, OTHER
}

Static Public Member Functions

static const ACEXML_Charget_encoding (const char *input)

Public Attributes

enum ACEXML_Encoding:: { ... }  ENCODING

Static Public Attributes

static const ACEXML_Charencoding_names_ [8]
static const ACEXML_UTF8 byte_order_mark_ [][4]
static const ACEXML_UTF8 magic_values_ [][4]

Detailed Description

ACEXML_Encoding.

Wrapper class for determining the encoding of a file or a byte stream.


Member Enumeration Documentation

anonymous enum
Enumerator:
UCS4BE 
UCS4LE 
UCS4_2143 
UCS4_3412 
UTF16BE 
UTF16LE 
UTF8 
OTHER 

Member Function Documentation

const ACEXML_Char * ACEXML_Encoding::get_encoding ( const char *  input) [static]

Member Data Documentation

Initial value:
 {
  { '\x00', '\x00', '\xFE', '\xFF' }, 
  { '\xFF', '\xFE', '\x00', '\x00' }, 
  { '\x00', '\x00', '\xFF', '\xFE' }, 
  { '\xFE', '\xFF', '\x00', '\x00' }, 
  { '\xFE', '\xFF', '\xFF', '\xFF' }, 
  { '\xFF', '\xFE', '\xFF', '\xFF' }, 
  { '\xEF', '\xBB', '\xBF', '\xFF' }  
}
Initial value:
 {
  ACE_TEXT ("UCS-4BE"),
  ACE_TEXT ("UCS-4LE"),
  ACE_TEXT ("UCS-4_2143"),
  ACE_TEXT ("UCS-4_3412"),
  ACE_TEXT ("UTF-16"),
  ACE_TEXT ("UTF-16"),
  ACE_TEXT ("UTF-8"),

}
Initial value:
 {
  { '\x00', '\x00', '\x00', '\x3c' }, 
  { '\x3c', '\x00', '\x00', '\x00' }, 
  { '\x00', '\x00', '\x3c', '\x00' }, 
  { '\x00', '\x3c', '\x00', '\x00' }, 
  { '\x00', '\x3c', '\x00', '\x3f' }, 
  { '\x3c', '\x00', '\x3f', '\x00' }, 
  { '\x3c', '\x3f', '\x78', '\x6d' }, 
}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines