in reply to Re: Converting UTF-16 files to UTF-8
in thread Converting UTF-16 files to UTF-8

then I'm puzzled about the data you have created

Well it seems you have a very good eye. :-) That was a typo on my behalf, it is actually FF FE 14 01 14 01 14 01 ...

Ill update my original node.

---
$world=~s/war/peace/g

Replies are listed 'Best First'.
Re^3: Converting UTF-16 files to UTF-8
by ikegami (Patriarch) on May 17, 2007 at 15:31 UTC
    Even with the change, I still don't get your result with ActivePerl 5.8.8 build 820
    >debug in File not found -e100 FF FE 14 01 14 01 14 01 -rcx CX 0000 :8 -w Writing 00008 bytes -q >perl 615796.pl in out >debug out -rcx CX 0006 : -d100 l6 137A:0100 C4 94 C4 94 C4 94 -q

      There was some bug in Ultraedit that lead to my confusion. When i used debug I got the correct response, and when i upgraded UE the bogus error went away. So it was just a phantom bug and not a perl problem at all. Thanks v. much for your help.

      ---
      $world=~s/war/peace/g