Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

Commented Unassigned: Double quote replaced by some other "junk" character [67]

0
0
Hi,
I am noticing v8Engine.Execute() fails with :
_
SyntaxError: Unexpected identifier
at Script Document xx..xxx.... -> -----------------------_
exception.

I see that normally one of the Double quotes ( " ) in the javascript text is replaced with some other characters and hence the syntax error. This seems to be intermittent issue as it doesnt happen all the time and not on all the machines the application runs.

Can you please have a look? I am using version 5.3.

thanks
Pandey

Comments: Oh, and the string changes in ClearScript 5.4 have to do with the way strings are passed around within the V8 interface. Instead of simple character pointers, the library now uses std::wstring references everywhere. This change was motivated by the need to support strings with embedded null characters.

Viewing all articles
Browse latest Browse all 2297