}
}
}
-
+
// if it matched, load dictionary
if (load_from_file != "") {
//log_debug << "Loading dictionary for language \"" << lang << "\" from \"" << filename << "\"" << std::endl;
s = lang.find("_");
if(s == std::string::npos) {
std::string lang_big = lang;
- std::transform (lang_big.begin(), lang_big.end(), lang_big.begin(), toupper);
+ std::transform (lang_big.begin(), lang_big.end(), lang_big.begin(), toupper);
lang += "_" + lang_big;
}
else if (c == 't') token.content += '\t';
else if (c == 'r') token.content += '\r';
else if (c == '"') token.content += '"';
+ else if (c == '\\') token.content += '\\';
else
{
log_warning << "Unhandled escape character: " << char(c) << std::endl;