Skip to content

Commit

Permalink
don't check version, check feature instead
Browse files Browse the repository at this point in the history
  • Loading branch information
rmanalan committed Mar 14, 2011
1 parent e98a0da commit 07712ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bdoc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
require 'launchy'
require 'multi_json'

if RUBY_VERSION == /^1.9/
if defined?(Encoding)
Encoding.default_internal = 'UTF-8'
else
$KCODE = "u"
Expand Down

0 comments on commit 07712ce

Please sign in to comment.