John M. Dlugosz has asked for the wisdom of the Perl Monks concerning the following question:
I see that the implementation of this function, under Win32, when Wide API is enabled, when the "use bytes" pragma is not in effect, will treat the parameters as being UTF-8.
But, Perl treats strings as byte or utf8 on a string-by-string basis, and is lazy about switching to the utf8 representation.
So my question is: does the interpreter force the string to be promoted when making some internal function calls? Where does the opcode generated by the open command actually call the native code?
—John
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Anatomy of 'perl', the interpreter
by hv (Prior) on Feb 10, 2005 at 14:36 UTC |