| Index: include/v8.h
|
| ===================================================================
|
| --- include/v8.h (revision 11074)
|
| +++ include/v8.h (working copy)
|
| @@ -1021,6 +1021,14 @@
|
| V8EXPORT int Utf8Length() const;
|
|
|
| /**
|
| + * A fast conservative check for non-ASCII characters. May
|
| + * return true even for ASCII strings, but if it returns
|
| + * false you can be sure that all characters are in the range
|
| + * 0-127.
|
| + */
|
| + V8EXPORT bool MayContainNonAscii() const;
|
| +
|
| + /**
|
| * Write the contents of the string to an external buffer.
|
| * If no arguments are given, expects the buffer to be large
|
| * enough to hold the entire string and NULL terminator. Copies
|
|
|