RE: FW: Reading a Unicode text file

2006-03-08 Thread Baskaran Sankaran
:56 To: Baskaran Sankaran Cc: beginners@perl.org Subject: Re: FW: Reading a Unicode text file On 2/17/06, Baskaran Sankaran <[EMAIL PROTECTED]> wrote: > File: Sample_Hin.txt > > दूसरे राज्य पुनर्गठन आयोग के गठन का यही सही वक्त है। > The sample files were created in

Re: FW: Reading a Unicode text file

2006-02-20 Thread Tom Phoenix
On 2/17/06, Baskaran Sankaran <[EMAIL PROTECTED]> wrote: > File: Sample_Hin.txt > > दूसरे राज्य पुनर्गठन आयोग के गठन का यही सही वक्त है। > The sample files were created in Windows in Unicode (both English & Hindi) > and I am able to open then in notepad and wordpad. But, the output as you > see i

FW: Reading a Unicode text file

2006-02-17 Thread Baskaran Sankaran
Hi group, Opening a file for output is fine. I've also moved the binmode immediately after open, outside the loop. But, the error still shows. Now, here are the sample files and my command would be: > perl number_sent.pl Sample_Eng.txt Sample_Hin.txt Sample_out.txt File: Sample_Eng.tx