Permalink
Browse files

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

…ode.

Signed-off-by: Nick Quaranto <nick@quaran.to>
  • Loading branch information...
1 parent 6342a38 commit bad2d172ec9ca66ceaf7c4d3fbfd884e7b054197 @henrik henrik committed with qrush 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 bad2d17

Please sign in to comment.