summary refs log tree commit diff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2009-06-26 13:59:53 +0200
committerfranck cuny <franck@lumberjaph.net>2009-06-26 13:59:53 +0200
commit4b4749ec914a998c417fe1db42b1c67f3d2ac88d (patch)
treea60327c1eedb51f9111d5dde2a5aa7e75cdc2e8d
parentPOD (diff)
downloadmoosex-useragent-4b4749ec914a998c417fe1db42b1c67f3d2ac88d.tar.gz
test encoding
-rw-r--r--lib/MooseX/UserAgent/Content.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MooseX/UserAgent/Content.pm b/lib/MooseX/UserAgent/Content.pm
index 1cd9951..653b5d9 100644
--- a/lib/MooseX/UserAgent/Content.pm
+++ b/lib/MooseX/UserAgent/Content.pm
@@ -19,6 +19,7 @@ sub get_content {
         if ($@) {
             $content = Encode::decode( $enc, $content );
         }
+        $content = Encode::encode("utf-8", $content);
     }
     $content;
 }