Browse files

check so it works in ruby 1.8.x

  • Loading branch information...
1 parent 494f2c0 commit 58f294f80e832f30779697c36a78495c5a94b24d @hone hone committed Oct 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/language_pack/base.rb
View
2 lib/language_pack/base.rb
@@ -3,7 +3,7 @@
require "yaml"
require "digest/sha1"
-Encoding.default_external = Encoding::UTF_8
+Encoding.default_external = Encoding::UTF_8 if defined?(Encoding)
# abstract class that all the Ruby based Language Packs inherit from
class LanguagePack::Base

0 comments on commit 58f294f

Please sign in to comment.