Subject: | Test fails with iso8859-1 locale |
The t/06_readline.t test fails with 0.010_03, if a iso8859-1 locale is active. Problem can be reproduced on FreeBSD (10.0, 9.2) and Linux (Debian7) systems. This test is fine on the same systems if a utf-8 locale or "C" is in effect.
Error log:
Wide character in print at /opt/perl-5.18.2/lib/5.18.2/x86_64-linux/IO/Handle.pm line 420.
Wide character in print at /opt/perl-5.18.2/lib/5.18.2/x86_64-linux/IO/Handle.pm line 420.
# Failed test 'expected: '<òðñô abcde âºâ»>', got: '<???? abcde ??>''
# at t/06_readline.t line 94.
# Looks like you failed 1 test of 22.
# Failed test 'readline_compat'
# at t/06_readline.t line 100.
Wide character in print at /opt/perl-5.18.2/lib/5.18.2/x86_64-linux/IO/Handle.pm line 420.
# Failed test 'expected: '<òðñô abcde âºâ»>', got: '<???? abcde ??>''
# at t/06_readline.t line 132.
# Looks like you failed 1 test of 22.
# Failed test 'env_readline_compat'
# at t/06_readline.t line 138.
# Looks like you failed 2 tests of 3.
t/06_readline.t ....................