Created
October 7, 2010 03:38
-
-
Save aero/614513 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -uNr /usr/local/opsview-web.bak/lib/Opsview/Web/ControllerBase/WrapCGI.pm /usr/local/opsview-web/lib/Opsview/Web/ControllerBase/WrapCGI.pm | |
--- /usr/local/opsview-web.bak/lib/Opsview/Web/ControllerBase/WrapCGI.pm 2010-09-27 11:09:44.000000000 +0900 | |
+++ /usr/local/opsview-web/lib/Opsview/Web/ControllerBase/WrapCGI.pm 2010-10-07 11:27:13.000000000 +0900 | |
@@ -161,7 +161,8 @@ | |
if ( $c->stash->{div_id} ) { | |
$body_data = '<div id="' . $c->stash->{div_id} . '">' . $body_data . "</div>"; | |
} | |
- $c->stash( cgi_output => $body_data ); | |
+ use Encode qw/encode decode/; | |
+ $c->stash(cgi_output => decode('utf8',$body_data)); | |
$tree->delete; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment