Skip to content

Commit

Permalink
check so it works in ruby 1.8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
hone committed Oct 27, 2011
1 parent 494f2c0 commit 58f294f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/language_pack/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 58f294f

Please sign in to comment.