simple sm utf8 check

This commit is contained in:
Aaron
2009-05-27 15:20:09 -04:00
parent 3aa27c095b
commit 6eef769974
3 changed files with 15 additions and 0 deletions

View File

@@ -650,6 +650,8 @@ namespace mongo {
void runTest();
virtual bool utf8Ok() const { return JS_CStringsAreUTF8(); }
private:
JSRuntime * _runtime;
friend class SMScope;