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