madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r20874: LJSV-2012: Wrong encoding of "repost.wra...

Committer: sbelyaev
LJSV-2012: Wrong encoding of "repost.wrapper"
U   trunk/cgi-bin/cleanhtml.pl
Modified: trunk/cgi-bin/cleanhtml.pl
===================================================================
--- trunk/cgi-bin/cleanhtml.pl	2011-12-29 13:28:42 UTC (rev 20873)
+++ trunk/cgi-bin/cleanhtml.pl	2011-12-30 08:29:04 UTC (rev 20874)
@@ -1324,8 +1324,9 @@
                                                 username => $poster_username,
                                                 url      => $entry->url,
                                                 subject  => $subject,
-                                                text     => $captured,
+                                                text     => Encode::encode_utf8($captured),
                                                 });
+                    $captured = Encode::decode_utf8($captured);
                 }
                 $captured = LJ::ehtml($captured);
 

Tags: livejournal, madeon, pl, sbelyaev
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