summaryrefslogtreecommitdiff
path: root/ext/Encode
diff options
context:
space:
mode:
Diffstat (limited to 'ext/Encode')
-rw-r--r--ext/Encode/Encode.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/Encode/Encode.pm b/ext/Encode/Encode.pm
index 4080238e47..635de301a2 100644
--- a/ext/Encode/Encode.pm
+++ b/ext/Encode/Encode.pm
@@ -552,7 +552,7 @@ buffer. Here is some sample code that does exactly this:
while(defined(read $fh, $buffer, 256)){
# buffer may end in a partial character so we append
$data .= $buffer;
- $utf8 .= decode($encoding, $data, ENCODE::FB_QUIET);
+ $utf8 .= decode($encoding, $data, Encode::FB_QUIET);
# $data now contains the unprocessed partial character
}