Subject: | t/lite_xhf.t fails with non-UTF-8 locale |
If LC_ALL=C is set, then t/lite_xhf.t fails:
# Failed test '[lite/5-utf8.xhf] Japanese ns'
# at t/lite_xhf.t line 122.
# +---+--------------------------------------+--------------------------+
# | Ln|Got |Expected |
# +---+--------------------------------------+--------------------------+
# | 1|'<h2>Hello</h2> |'<h2>Hello</h2> |
# | 2|3 x 8 = 24 |3 x 8 = 24 |
# * 3|\xff\xff\xff\xff\xff\xff\xff\xff\xff |\x{4e16}\x{754c}\x{ff01} *
# | 4|' |' |
# +---+--------------------------------------+--------------------------+
# Looks like you failed 1 test of 289.
t/lite_xhf.t ........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/289 subtests
(less 5 skipped subtests: 283 okay)
The same test works fine with a utf-8 locale e.g. LC_ALL=de_DE.UTF-8.
Regards,
Slaven