diff -up alexandria-0.6.8/bin/alexandria.kcodefix alexandria-0.6.8/bin/alexandria --- alexandria-0.6.8/bin/alexandria.kcodefix 2012-03-23 14:39:42.898463507 -0400 +++ alexandria-0.6.8/bin/alexandria 2012-04-08 04:40:00.000000000 +0900 @@ -1,6 +1,9 @@ #!/usr/bin/env ruby +# encoding: utf-8 -$KCODE = 'U' +$KCODE = 'U' unless RUBY_VERSION > "1.9.0" +# Japanese locale see some odd failure without below... +ENV["LANG"] = ENV["LANG"].sub("utf8", "utf-8") require 'rubygems' begin diff -up alexandria-0.6.8/lib/alexandria/about.rb.kcodefix alexandria-0.6.8/lib/alexandria/about.rb --- alexandria-0.6.8/lib/alexandria/about.rb.kcodefix 2012-03-23 14:41:48.288345224 -0400 +++ alexandria-0.6.8/lib/alexandria/about.rb 2012-03-23 14:42:03.952205307 -0400 @@ -1,3 +1,5 @@ +# encoding: utf-8 + # Copyright (C) 2004-2006 Laurent Sansonetti # Copyright (C) 2008 Joseph Method #