Effect of -C command line switch on `warn` and `die`

2010-04-22 Thread Michael Ludwig
Consider the following script, the source of which is encoded in UTF-8: use utf8; use open qw/:utf8 :std/; my $str = "Käse\n"; print STDOUT $str; print STDERR $str; warn $str; die $str; On a UTF-8 terminal, this prints Käse three times. So far, so good. Now remove the open pragm

Re: Effect of -C command line switch on `warn` and `die`

2010-04-22 Thread Aristotle Pagaltzis
Hi Michael, * Michael Ludwig [2010-04-22 17:00]: > Consider the following script, the source of which is encoded > in UTF-8: I can’t answer your question, but I do want to suggest that you re-post it to perl5-port...@perl.org – it’s much more likely that someone over there will be able to tell y