Skip to content

Commit

Permalink
Force external/internal viewer encodings to UTF-8 (refs #15).
Browse files Browse the repository at this point in the history
  • Loading branch information
whitequark committed Jul 9, 2014
1 parent ff96d08 commit 34ff785
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion viewer.ru
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ $: << File.join(File.dirname(__FILE__), 'lib')
require 'irclogger'
require 'irclogger/viewer'

Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encoding::UTF_8

IrcLogger::Channel.listen

run IrcLogger::Viewer
run IrcLogger::Viewer

0 comments on commit 34ff785

Please sign in to comment.