[Bug 175513] UTF-8 error from sa-learn

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: UTF-8 error from sa-learn


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=175513





------- Additional Comments From reg+redhat@xxxxxxxxxx  2005-12-12 05:24 EST -------
The comments in that bug are confusing. No patches that are in that bug were
applied. The bug was closed because other changes in trunk made the warning go
away. and Justin determined that the problem was only cosmetic. The warnings did
not affect rule hits.

The relevant code in the trunk version of HTML.pm looks like this:

 # Ignore stupid warning that can't be suppressed: 'Parsing of
 # undecoded UTF-8 will give garbage when decoding entities at ..' (bug 4046)
 {
   local $SIG{__WARN__} = sub {
     warn @_ unless (defined $_[0] && $_[0] =~ /^Parsing of undecoded UTF-/);
   };

   $self->SUPER::parse($text);
 }

In 3.0 there is a call to

  $hp->parse(pack ('C0A*', $text));

at or near line 182, instead of a call to $self->SUPER::parse($text);
and that's what you would wrap the block around.

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux