Subj : spidermonkey: script compilation from stream To : netscape.public.mozilla.jseng From : Jens Thiele Date : Wed Sep 08 2004 05:07 pm I am currently thinking about compilation of scripts from a stream instead of reading into memory (conversion to ucs-2) and then compile/exec. It seems the only stream interface available via the API is via a FILE* stream and iso-8859-1 encoding as subset of ucs-2 is expected? in jsscan.c:343: ubuf[i] = (jschar) (unsigned char) cbuf[j]; Is this correct? Thanks Jens .