def test_emscripten_run_script_string_utf8(self):
    src = '\n      #include <stdio.h>\n      #include <stdlib.h>\n      #include <string.h>\n      #include <emscripten.h>\n\n      int main() {\n        const char *str = emscripten_run_script_string("\'\\\\u2603 \\\\u2603 \\\\u2603 Hello!\'");\n        printf("length of returned string: %d. Position of substring \'Hello\': %d\\n", strlen(str), strstr(str, "Hello")-str);\n        return 0;\n      }\n    '
    self.do_run(src, "length of returned string: 18. Position of substring 'Hello': 12")
def test_emscripten_run_script_string_utf8(self):
    src = '\n      #include <stdio.h>\n      #include <stdlib.h>\n      #include <string.h>\n      #include <emscripten.h>\n\n      int main() {\n        const char *str = emscripten_run_script_string("\'\\\\u2603 \\\\u2603 \\\\u2603 Hello!\'");\n        printf("length of returned string: %d. Position of substring \'Hello\': %d\\n", strlen(str), strstr(str, "Hello")-str);\n        return 0;\n      }\n    '
    self.do_run(src, "length of returned string: 18. Position of substring 'Hello': 12")