Don't need to convert data to UTF8 anymore, it comes from mysql that way
This commit is contained in:
parent
aa5e25eab6
commit
b9134bcadb
1 changed files with 0 additions and 2 deletions
|
|
@ -15,7 +15,6 @@ package WebGUI::Asset::RSSFromParent;
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use Encode;
|
|
||||||
use HTML::Entities;
|
use HTML::Entities;
|
||||||
use Tie::IxHash;
|
use Tie::IxHash;
|
||||||
use base 'WebGUI::Asset';
|
use base 'WebGUI::Asset';
|
||||||
|
|
@ -70,7 +69,6 @@ sub update {
|
||||||
sub _escapeXml {
|
sub _escapeXml {
|
||||||
my $text = shift;
|
my $text = shift;
|
||||||
return $text unless (ref $text eq "");
|
return $text unless (ref $text eq "");
|
||||||
$text = decode('utf8', $text);
|
|
||||||
return HTML::Entities::encode_numeric($text)
|
return HTML::Entities::encode_numeric($text)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue