Ta_da

Ta_da

View project on GitHub

jekyll not found 乱码

jekyll windows 情况下markdown文档中文命名 出现not found 并乱码

…\Ruby25-x64\lib\ruby\2.5.0\webrick\httpservlet\filehandler.rb

path = req.path_info.dup.force_encoding(Encoding.find("filesystem"))
path.force_encoding("UTF-8")  //add this line
if trailing_pathsep?(req.path_info)
break if base == "/"
base.force_encoding("UTF-8")  //add this line
break unless File.directory?(File.expand_path(res.filename + base))

解决问题