Skip to content

Commit

Permalink
Use utf-8 throughout the program when ran via CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
dag committed Apr 21, 2008
1 parent 8b0162c commit cc7d163
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/amazing/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ module Amazing
# CLI.run(ARGV)
class CLI
def initialize(args)
$KCODE = "utf-8"
@args = args
@log = Logger.new(STDOUT)
@options = Options.new(@args)
Expand Down

1 comment on commit cc7d163

@dag
Copy link
Owner Author

@dag dag commented on cc7d163 Apr 21, 2008

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forgot to mark the commit with the related issue, #9: http://amazing.origo.ethz.ch/node/19

Please sign in to comment.