Baskaran Sankaran wrote:

Thanks for that but still I do face problem. I did that and it raises a warning:

utf8 "\xFF" does not map to Unicode at second.pl line 8, <$lang_sample_fh> line 1.

Excellent, so now we have soem info to start with :)


I have 10 sentences each in different line in the input file (input file doesn't contain any blank lines between sentences). The output file gets generated, but only alternate lines are displayed properly. Lines 2, 4, 6, ... are displayed as junk boxes in Unicode.

ok:

send the "new" code so we can see what line 8 is and please send a representation of the data in the file, the results and what you excpect. (IE imagine we can't pull what you expect to happen and what is happening from thin air, all I have is an abscure warning, something about every other line being goofed, and something about Unicode *'s)

Thanks ;)

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to