Malformed UTF-8 character (unexpected non-continu

perl India
  • 17 years ago




    hi all,


            I am trying to execute a perl program on the out put of htmltotext converter. My perl program tests som regular expressions and do modifications on the input.


            But for some inputs the programs gave the error
                                                                                             "Malformed UTF-8 character (unexpected non-continuation byte 0x3a, immediately after start byte 0xea) in substitution iterator at sentencemarker line 36, <STDIN> line 1."
                                                                                                and stopped proceeding further from the line no 36.



             The expression i am trying to match is .....
                         $text =~ s{(.((\s*).)+)}{
                                   my $full = $1;
                                   $full =~ s/./\ /g;
                                   $full;
                         }eg ;


           


             Please help this poor guy .


            Thanks in ADVANCE.
            bye.

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Before software should be reusable, it should be usable.” - Ralph Johnson