Skip to content
This repository has been archived by the owner on Mar 14, 2023. It is now read-only.

support ruby 1.9 #21

Open
GoogleCodeExporter opened this issue Aug 13, 2015 · 2 comments
Open

support ruby 1.9 #21

GoogleCodeExporter opened this issue Aug 13, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

without requiring jcode and $KCODE.

Original issue reported on code.google.com by [email protected] on 5 Apr 2012 at 6:46

Attachments:

@GoogleCodeExporter
Copy link
Author

Probably more efficient way:
if RUBY_VERSION < '1.9'
  require 'jcode'
  $KCODE = 'UTF8'
end

Original comment by [email protected] on 17 Apr 2012 at 9:48

@GoogleCodeExporter
Copy link
Author

It isn't cool using RUBY_VERSION...

Original comment by [email protected] on 17 Apr 2012 at 10:42

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant