Commits

Michael Granger committed 45bf3dd

Open pages using UTF-8, too.

Comments (0)

Files changed (1)

lib/strelka/cms/page.rb

 
 	### Read page source from the file at the given +path+ and return a new Page object.
 	def self::load( path, catalog=nil )
-		page = File.open( path, 'r' ) do |io|
+		page = File.open( path, 'r', encoding: 'utf-8' ) do |io|
 			self.read( io, catalog )
 		end