#include "support/debug.h"
#include "support/lstrings.h"
+#include "support/textutils.h"
using namespace std;
string::const_iterator it = n.begin();
string::const_iterator en = n.end();
for (; it != en; ++it) {
- if (!isalpha(*it))
+ if (!isAlphaASCII(*it))
d += "_";
- else if (islower(*it))
+ else if (isLower(*it))
d += *it;
else
d += support::lowercase(*it);
d = from_ascii("lyx_");
else
d += '_';
- } else if (islower(c))
+ } else if (isLower(c))
d += c;
else
// this is slow, so do it only if necessary
#include "support/debug.h"
#include "support/lstrings.h"
+#include "support/textutils.h"
#include <vector>
string::const_iterator it = n.begin();
string::const_iterator en = n.end();
for (; it != en; ++it) {
- if (!isalpha(*it))
+ if (!isAlphaASCII(*it))
d += "_";
- else if (islower(*it))
+ else if (isLower(*it))
d += *it;
else
d += support::lowercase(*it);
}
char const * type =
- (isalpha(char_) || Encodings::isMathAlpha(char_))
+ (isAlphaASCII(char_) || Encodings::isMathAlpha(char_))
? "mi" : "mo";
// we don't use MTag and ETag because we do not want the spacing
ms << "<" << type << ">" << char_type(char_) << "</" << type << ">";
return;
}
- if (isalpha(char_) || Encodings::isMathAlpha(char_))
+ if (isAlphaASCII(char_) || Encodings::isMathAlpha(char_))
// we don't use MTag and ETag because we do not want the spacing
ms << MTag("i") << char_type(char_) << ETag("i");
else
string::const_iterator it = str.begin();
string::const_iterator en = str.end();
for (; it != en; ++it)
- newname += isalnum(*it) ? *it : '_';
+ newname += isAlnumASCII(*it) ? *it : '_';
return newname;
}
* DOCUMENT INPUT/OUTPUT
+- Fixed assertions on Windows for XHTML output (bug 8078).
+
- Fix reconfiguration on Windows when the user directory is a UNC path
(bug 8098).