#define ENCODING_H
#include "support/docstring.h"
+#include "support/types.h"
#include <map>
#include <set>
class LaTeXFeatures;
+class EncodingException : public std::exception {
+public:
+ EncodingException(char_type c);
+ virtual ~EncodingException() throw() {}
+ virtual const char * what() const throw();
+
+ char_type failed_char;
+ int par_id;
+ pos_type pos;
+};
+
///
class Encoding {