RE: Config::IniHash and Unicode INI file

2005-04-01 Thread Jenda Krynicky
From: Bullock, Howard A. [EMAIL PROTECTED] I apologize for the previous post that was sent prematurely. After reading the IniHash.pm I found that I could pass The ReadINI method a scalar reference. So my solution is: use Encode; open(FH, :encoding(UTF-16), $file); my $Data;

RE: Config::IniHash and Unicode INI file

2005-03-31 Thread Bullock, Howard A.
After reading the IniHash.pm I found that I could pass The ReadINI method a scalar reference. So my solution is: use Encode; open(FH, :encoding(UTF-16), $file); my $Data; { local $/; $Data = FH; close FH;#if (utf8::decode($Data)) { #print

RE: Config::IniHash and Unicode INI file

2005-03-31 Thread Bullock, Howard A.
I apologize for the previous post that was sent prematurely. After reading the IniHash.pm I found that I could pass The ReadINI method a scalar reference. So my solution is: use Encode; open(FH, :encoding(UTF-16), $file); my $Data; { local $/; $Data = FH;