### Got it due to the info below. Many thanks.my $File = 'X:\TestData.txt'; my @FileData = do { local(*ARGV); @ARGV=$File; <> }; map {Encode::encode("utf-8", $_)} @FileData; WriteFile('X:\Test.txt', @FileData);
In reply to Text file to UTF-8 encoding by dexter29
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |