diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2014-03-07 09:32:51 +0100 |
---|---|---|
committer | Matthias H <apoc@sixserv.org> | 2015-01-11 08:59:28 +0100 |
commit | 6889fac4f7df6772e94bc7fc8319823197b68552 (patch) | |
tree | f49bdf5f4259e7fe4fcec5e7ca807f85ca5fea00 /bin | |
parent | 9785300d2b82d256ee9ac0eab50a4ddd7e387459 (diff) |
set default encoding to UTF-8 for Ruby 1.9
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/rbot | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -89,6 +89,8 @@ if File.directory? "#{defaultlib}/rbot" end begin + Encoding.default_internal = Encoding::UTF_8 + Encoding.default_external = Encoding::UTF_8 require 'rbot/ircbot' rescue LoadError => e puts "Error: couldn't find the rbot/ircbot module (or one of its dependencies)\n" |