in reply to Re: Re: Re: Reading and writing to unicode files
in thread Reading and writing to unicode files
with test.txt being a copy of the config file I'm trying to open. (BTW, UCS2 fails with quite glorious results, involving much beeping :))open (READ, "<:encoding(UCS2)", "z:/test.txt") or die "unable to open +file"; foreach (<READ>) { print $_; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Reading and writing to unicode files
by iburrell (Chaplain) on Mar 05, 2004 at 18:49 UTC |