Permalink
Browse files

Make syntax highlighting (Albino, Pygmentize) not break on UTF-8 in c…

…ode.
  • Loading branch information...
1 parent ad064f7 commit fb3d93759bc1e3deefe0b8b6d9ef7e6becbcb37a @henrik henrik committed Apr 14, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/jekyll/albino.rb
View
@@ -56,7 +56,7 @@ def self.colorize(*args)
def initialize(target, lexer = :text, format = :html)
@target = File.exists?(target) ? File.read(target) : target rescue target
- @options = { :l => lexer, :f => format }
+ @options = { :l => lexer, :f => format, :O => 'encoding=utf-8' }
end
def execute(command)

0 comments on commit fb3d937

Please sign in to comment.