I want to write a chinese wiki on gitlab, and I got an error 500 like this (incompatible character encodings: UTF-8 and ASCII-8BIT)
==> /var/log/gitlab/gitlab-rails/production.log <==
Started POST "/iPlat4M/iPlat4M_iPad/wikis" for 222.44.31.145 at 2016-06-16 04:14:20 +0000
Processing by Projects::WikisController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"[FILTERED]", "wiki"=>{"title"=>"home", "format"=>"md", "content"=>"这个页面\r\n#一定哪里不太对\r\n##字体大小都不一致\r\n###好像有什么不对", "message"=>"123"}, "namespace_id"=>"iPlat4M", "project_id"=>"iPlat4M_iPad"}
Encoding::CompatibilityError (incompatible character encodings: UTF-8 and ASCII-8BIT):
app/models/project_wiki.rb:93:in `create_page'
app/models/wiki_page.rb:179:in `save'
app/models/wiki_page.rb:139:in `create'
app/controllers/projects/wikis_controller.rb:60:in `create'
Completed 500 Internal Server Error in 181ms (Views: 20.1ms | ActiveRecord: 11.4ms)
Could someone can help me? Thanks