Skip to content

Commit

Permalink
Don't set KCODE on 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
cjheath committed Dec 15, 2010
1 parent 2df88dc commit e357186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Expand Up @@ -62,7 +62,7 @@ def parse(input, options = {})
def parse_multibyte(input, options = {})
require 'active_support/all'

if 'NONE' == $KCODE then $KCODE = 'UTF8' end
if RUBY_VERSION !~ /^1.9/ && 'NONE' == $KCODE then $KCODE = 'UTF8' end
# rspec 1.3 used to do something similar (set it to 'u') that we need
# for activerecord multibyte wrapper to kick in (1.8 only? @todo)

Expand Down

0 comments on commit e357186

Please sign in to comment.