Subj : Re: spidermonkey: script compilation from stream To : Jens Thiele From : Brendan Eich Date : Fri Sep 10 2004 12:08 am Jens Thiele wrote: > 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? Yes. /be .