]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
figlet plugin: utf-8
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 21 Jun 2008 07:19:45 +0000 (09:19 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 21 Jun 2008 07:45:52 +0000 (09:45 +0200)
data/rbot/plugins/figlet.rb

index ac4f466bb75b9e40fe893dd94f3b50f9fed528ee..9d843ce95a056ed7aea3623a1598849352224c98 100644 (file)
@@ -42,7 +42,7 @@ class FigletPlugin < Plugin
     test_figlet
 
     # set the commandline params
-    @figlet_params = ['-k', '-w', MAX_WIDTH.to_s]
+    @figlet_params = ['-k', '-w', MAX_WIDTH.to_s, '-C', 'utf8']
 
     # add the font from DEFAULT_FONTS to the cmdline (if figlet has that font)
     @figlet_params += ['-f', @figlet_font] if @figlet_font