in reply to Re^5: Standard handles inherited from a utf-8 enabled shell
in thread Standard handles inherited from a utf-8 enabled shell
I won't believe this until I've seen it, reproduced as a minimal example
As I said: agreed. But can you think of anything else that might fit with the symptoms described and the apparent solution?
I couldn't, and all my attempts to try and re-create the situation also failed:
perl -CO -e" system q[ \perl64\bin\perl.exe -e\" print pack 'B8', '111 +11111'; \" | od -t x1 ]" 0000000 ff 0000001 perl -CO -e" system q[\perl64\bin\perl.exe -CO -e\"print pack 'B8', '1 +1111111'; \" | od -t x1 ]" 0000000 c3 bf 0000002
I would have expected the first of those to produce the same od output as the second, had the second instance of perl inherited the stdout characteristics of its parent.
But I'm on windows, and disproving the possibility here, doesn't disprove it for other platforms, hence my asking the question.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Standard handles inherited from a utf-8 enabled shell
by repellent (Priest) on Mar 22, 2012 at 04:41 UTC | |
by BrowserUk (Patriarch) on Mar 22, 2012 at 05:59 UTC | |
by repellent (Priest) on Mar 22, 2012 at 09:59 UTC | |
by BrowserUk (Patriarch) on Mar 22, 2012 at 11:38 UTC |