#include <config.h>
#include "encoding.h"
-#include "lyxlex.h"
+
#include "debug.h"
+#include "lyxlex.h"
+#include "lyxrc.h"
#ifndef CXX_GLOBAL_CSTD
using std::strtol;
#endif
using std::endl;
+using std::string;
+
Encodings encodings;
} // namespace anon
-bool Encodings::IsComposeChar_hebrew(unsigned char c)
+bool Encodings::isComposeChar_hebrew(unsigned char c)
{
return c <= 0xd2 && c >= 0xc0 &&
c != 0xce && c != 0xd0;
c == 0xe9;
}
-bool Encodings::IsComposeChar_arabic(unsigned char c)
+bool Encodings::isComposeChar_arabic(unsigned char c)
{
return c >= 0xeb && c <= 0xf2;
}
}
-unsigned char Encodings::TransformChar(unsigned char c,
+unsigned char Encodings::transformChar(unsigned char c,
Encodings::Letter_Form form)
{
if (!is_arabic(c))
string const name = lex.getString();
lex.next();
string const latexname = lex.getString();
- lyxerr[Debug::INIT] << "Reading encoding " << name << endl;
+ lyxerr[Debug::INFO] << "Reading encoding " << name << endl;
Uchar table[256];
for (unsigned int i = 0; i < 256; ++i) {
lex.next();