aboutsummaryrefslogtreecommitdiffstats
path: root/bin/erb
diff options
context:
space:
mode:
Diffstat (limited to 'bin/erb')
-rwxr-xr-xbin/erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/erb b/bin/erb
index 6a88c3b26a..86f7042fae 100755
--- a/bin/erb
+++ b/bin/erb
@@ -122,7 +122,7 @@ EOU
exit 1
end
- $<.set_encoding(Encoding::ASCII_8BIT, nil)
+ $<.set_encoding(Encoding::UTF_8, nil)
src = $<.read
filename = $FILENAME
exit 2 unless src