Turn on UTF-8 flag only if the $str is valid utf8
authorJarkko Hietaniemi <jhi@iki.fi>
Sun, 16 Mar 2003 17:41:42 +0000 (17:41 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Sun, 16 Mar 2003 17:41:42 +0000 (17:41 +0000)
commit11412ee612ee855f6157e78034024e8f5e3ba052
tree4528b0d0dc9f0efa9fa952f807b3f56046745cbd
parent5e43f4674257b58e1586fd5e88cdab2ae2f833ee
Turn on UTF-8 flag only if the $str is valid utf8
(pointed out by Dan Kogai).

p4raw-id: //depot/perl@18996
lib/Term/ReadLine.pm