sunnyman's (sunnyman) wrote in changelog,
sunnyman's
sunnyman
changelog

[livejournal] r17927: OPSC-212 Fixed double utf8-ed applicatio...

Committer: vtroitsky
OPSC-212 Fixed double utf8-ed application name when lj-app opened.
U   trunk/cgi-bin/cleanhtml.pl
Modified: trunk/cgi-bin/cleanhtml.pl
===================================================================
--- trunk/cgi-bin/cleanhtml.pl	2010-12-14 05:54:44 UTC (rev 17926)
+++ trunk/cgi-bin/cleanhtml.pl	2010-12-14 06:14:00 UTC (rev 17927)
@@ -623,7 +623,7 @@
         	next TOKEN if $LJ::DISABLED{'userapps'};
         	my $app = LJ::UserApps->get_application( %$attr );
         	next TOKEN unless $app && $app->can_show_restricted;
-        	$newdata .= $app->ljapp_display($attr->{extra}, $attr->{title});
+            $newdata .= Encode::decode_utf8($app->ljapp_display($attr->{extra}, $attr->{title}), Encode::FB_QUIET);
         	next TOKEN;
             }
             elsif ($tag eq "lj")

Tags: livejournal, pl, sunnyman
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments